From 302a69bfc5c1de153455a813ef14c170452305f0 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Fri, 20 Jul 2018 15:57:21 +0200 Subject: use DisableAutoGenTag to not have to commit the documentation after each build --- commands/root.go | 2 ++ doc/man/git-bug-close.3 | 5 ----- doc/man/git-bug-commands.3 | 5 ----- doc/man/git-bug-comment.3 | 5 ----- doc/man/git-bug-label.3 | 5 ----- doc/man/git-bug-ls.3 | 5 ----- doc/man/git-bug-new.3 | 5 ----- doc/man/git-bug-open.3 | 5 ----- doc/man/git-bug-pull.3 | 5 ----- doc/man/git-bug-push.3 | 5 ----- doc/man/git-bug-show.3 | 5 ----- doc/man/git-bug-webui.3 | 5 ----- doc/man/git-bug.3 | 5 ----- doc/md/git-bug.md | 1 - doc/md/git-bug_close.md | 1 - doc/md/git-bug_commands.md | 1 - doc/md/git-bug_comment.md | 1 - doc/md/git-bug_label.md | 1 - doc/md/git-bug_ls.md | 1 - doc/md/git-bug_new.md | 1 - doc/md/git-bug_open.md | 1 - doc/md/git-bug_pull.md | 1 - doc/md/git-bug_push.md | 1 - doc/md/git-bug_show.md | 1 - doc/md/git-bug_webui.md | 1 - 25 files changed, 2 insertions(+), 72 deletions(-) diff --git a/commands/root.go b/commands/root.go index 74606018..54368fc7 100644 --- a/commands/root.go +++ b/commands/root.go @@ -33,6 +33,8 @@ It use the same internal storage so it doesn't pollute your project. As you woul // Load the repo before any command execution // Note, this concern only commands that actually have a Run function PersistentPreRunE: loadRepo, + + DisableAutoGenTag: true, } func Execute() { diff --git a/doc/man/git-bug-close.3 b/doc/man/git-bug-close.3 index 1e5d9177..cf20b27a 100644 --- a/doc/man/git-bug-close.3 +++ b/doc/man/git-bug-close.3 @@ -27,8 +27,3 @@ Mark the bug as closed .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-commands.3 b/doc/man/git-bug-commands.3 index c040f1e0..e35fcd66 100644 --- a/doc/man/git-bug-commands.3 +++ b/doc/man/git-bug-commands.3 @@ -31,8 +31,3 @@ Display available commands .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-comment.3 b/doc/man/git-bug-comment.3 index 519b08e2..72b7c2c3 100644 --- a/doc/man/git-bug-comment.3 +++ b/doc/man/git-bug-comment.3 @@ -35,8 +35,3 @@ Add a new comment to a bug .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-label.3 b/doc/man/git-bug-label.3 index 7329fa3d..90c26fee 100644 --- a/doc/man/git-bug-label.3 +++ b/doc/man/git-bug-label.3 @@ -31,8 +31,3 @@ Manipulate bug's label .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-ls.3 b/doc/man/git-bug-ls.3 index 32201079..1a9aec79 100644 --- a/doc/man/git-bug-ls.3 +++ b/doc/man/git-bug-ls.3 @@ -27,8 +27,3 @@ Display a summary of all bugs .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-new.3 b/doc/man/git-bug-new.3 index eb421f34..ea64be68 100644 --- a/doc/man/git-bug-new.3 +++ b/doc/man/git-bug-new.3 @@ -35,8 +35,3 @@ Create a new bug .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-open.3 b/doc/man/git-bug-open.3 index 0d509d5d..d7d50346 100644 --- a/doc/man/git-bug-open.3 +++ b/doc/man/git-bug-open.3 @@ -27,8 +27,3 @@ Mark the bug as open .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-pull.3 b/doc/man/git-bug-pull.3 index 54cb7133..1bb2ef13 100644 --- a/doc/man/git-bug-pull.3 +++ b/doc/man/git-bug-pull.3 @@ -27,8 +27,3 @@ Pull bugs update from a git remote .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-push.3 b/doc/man/git-bug-push.3 index d6a6174d..40377dd0 100644 --- a/doc/man/git-bug-push.3 +++ b/doc/man/git-bug-push.3 @@ -27,8 +27,3 @@ Push bugs update to a git remote .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-show.3 b/doc/man/git-bug-show.3 index 7d8391ac..03bdbcda 100644 --- a/doc/man/git-bug-show.3 +++ b/doc/man/git-bug-show.3 @@ -27,8 +27,3 @@ Display the details of a bug .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug-webui.3 b/doc/man/git-bug-webui.3 index fabf2750..8bba041d 100644 --- a/doc/man/git-bug-webui.3 +++ b/doc/man/git-bug-webui.3 @@ -27,8 +27,3 @@ Launch the web UI .SH SEE ALSO .PP \fBgit\-bug(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/man/git-bug.3 b/doc/man/git-bug.3 index d88c6166..066c1d1a 100644 --- a/doc/man/git-bug.3 +++ b/doc/man/git-bug.3 @@ -30,8 +30,3 @@ It use the same internal storage so it doesn't pollute your project. As you woul .SH SEE ALSO .PP \fBgit\-bug\-close(3)\fP, \fBgit\-bug\-commands(3)\fP, \fBgit\-bug\-comment(3)\fP, \fBgit\-bug\-label(3)\fP, \fBgit\-bug\-ls(3)\fP, \fBgit\-bug\-new(3)\fP, \fBgit\-bug\-open(3)\fP, \fBgit\-bug\-pull(3)\fP, \fBgit\-bug\-push(3)\fP, \fBgit\-bug\-show(3)\fP, \fBgit\-bug\-webui(3)\fP - - -.SH HISTORY -.PP -20\-Jul\-2018 Auto generated by spf13/cobra diff --git a/doc/md/git-bug.md b/doc/md/git-bug.md index b6800a55..eeef22f1 100644 --- a/doc/md/git-bug.md +++ b/doc/md/git-bug.md @@ -32,4 +32,3 @@ git-bug [flags] * [git-bug show](git-bug_show.md) - Display the details of a bug * [git-bug webui](git-bug_webui.md) - Launch the web UI -###### Auto generated by spf13/cobra on 20-Jul-2018 diff --git a/doc/md/git-bug_close.md b/doc/md/git-bug_close.md index 89aa22c7..ab95706d 100644 --- a/doc/md/git-bug_close.md +++ b/doc/md/git-bug_close.md @@ -20,4 +20,3 @@ git-bug close [flags] * [git-bug](git-bug.md) - A bugtracker embedded in Git -###### Auto generated by spf13/cobra on 20-Jul-2018 diff --git a/doc/md/git-bug_commands.md b/doc/md/git-bug_commands.md index 83a03b79..2ca62eab 100644 --- a/doc/md/git-bug_commands.md +++ b/doc/md/git-bug_commands.md @@ -21,4 +21,3 @@ git-bug commands [