Skip to content

Commit 35e4ce7

Browse files
committed
chore: disable auto gen print in docs again
1 parent 49c5287 commit 35e4ce7

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

docs/sparrow.md

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ The check results are exposed via an API.
1818

1919
* [sparrow run](sparrow_run.md) - Run sparrow
2020

21-
###### Auto generated by spf13/cobra on 20-Jan-2025

docs/sparrow_run.md

-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ sparrow run [flags]
3636

3737
* [sparrow](sparrow.md) - Sparrow, the infrastructure monitoring agent
3838

39-
###### Auto generated by spf13/cobra on 20-Jan-2025

scripts/gen-docs/gen-docs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewCmdGenDocs() *cobra.Command {
5151
// runGenDocs generates the markdown files for the flag documentation
5252
func runGenDocs(path *string) func(cmd *cobra.Command, args []string) error {
5353
c := sparrowcmd.BuildCmd("")
54-
c.DisableAutoGenTag = false
54+
c.DisableAutoGenTag = true
5555
return func(_ *cobra.Command, _ []string) error {
5656
if err := doc.GenMarkdownTree(c, *path); err != nil {
5757
return fmt.Errorf("failed to generate docs: %w", err)

0 commit comments

Comments
 (0)