1
0
mirror of synced 2026-02-06 19:05:55 +00:00

docs: disable autogen footer CLI docs

This commit is contained in:
Hidde Beydals
2020-06-23 13:28:15 +02:00
parent 353a2dd92b
commit 0e81f6c3af
33 changed files with 2 additions and 33 deletions

View File

@@ -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)