Skip to content

Commit

Permalink
chore: disable auto gen print in docs again
Browse files Browse the repository at this point in the history
  • Loading branch information
y-eight committed Jan 20, 2025
1 parent 49c5287 commit 35e4ce7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docs/sparrow.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/sparrow_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ sparrow run [flags]

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

###### Auto generated by spf13/cobra on 20-Jan-2025
2 changes: 1 addition & 1 deletion scripts/gen-docs/gen-docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35e4ce7

Please sign in to comment.