diff --git a/docs/sparrow.md b/docs/sparrow.md index e6753d6a..4c73c543 100644 --- a/docs/sparrow.md +++ b/docs/sparrow.md @@ -18,4 +18,3 @@ The check results are exposed via an API. * [sparrow run](sparrow_run.md) - Run sparrow -###### Auto generated by spf13/cobra on 20-Jan-2025 diff --git a/docs/sparrow_run.md b/docs/sparrow_run.md index baee366e..ae454c0d 100644 --- a/docs/sparrow_run.md +++ b/docs/sparrow_run.md @@ -36,4 +36,3 @@ sparrow run [flags] * [sparrow](sparrow.md) - Sparrow, the infrastructure monitoring agent -###### Auto generated by spf13/cobra on 20-Jan-2025 diff --git a/scripts/gen-docs/gen-docs.go b/scripts/gen-docs/gen-docs.go index 61e184ef..77df87f9 100644 --- a/scripts/gen-docs/gen-docs.go +++ b/scripts/gen-docs/gen-docs.go @@ -51,7 +51,7 @@ func NewCmdGenDocs() *cobra.Command { // runGenDocs generates the markdown files for the flag documentation func runGenDocs(path *string) func(cmd *cobra.Command, args []string) error { c := sparrowcmd.BuildCmd("") - c.DisableAutoGenTag = false + c.DisableAutoGenTag = true return func(_ *cobra.Command, _ []string) error { if err := doc.GenMarkdownTree(c, *path); err != nil { return fmt.Errorf("failed to generate docs: %w", err)