mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-21 19:15:44 +00:00
docs: disable autogen footer CLI docs
This commit is contained in:
parent
353a2dd92b
commit
0e81f6c3af
33 changed files with 2 additions and 33 deletions
|
|
@ -138,6 +138,7 @@ func generateDocs() {
|
|||
if len(args) > 0 && args[0] == "docgen" {
|
||||
rootCmd.PersistentFlags().StringVarP(&kubeconfig, "kubeconfig", "", "~/.kube/config",
|
||||
"path to the kubeconfig file")
|
||||
rootCmd.DisableAutoGenTag = true
|
||||
err := doc.GenMarkdownTree(rootCmd, "./docs/cmd")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue