Skip to content

Commit

Permalink
docs: rm auto gen tag (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t authored Dec 9, 2023
1 parent 0e297bb commit 759b5ca
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion cmd/gen-docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ func NewCmdGenDocs(rootCmd *cobra.Command) *cobra.Command {
return cmd
}

// run is the entry point to start the sparrow
// runGenDocs generates the markdown files for the flag documentation
func runGenDocs(rootCmd *cobra.Command, path *string) func(cmd *cobra.Command, args []string) {
rootCmd.DisableAutoGenTag = true
return func(cmd *cobra.Command, args []string) {
_ = doc.GenMarkdownTree(rootCmd, *path)
}
Expand Down
1 change: 0 additions & 1 deletion docs/sparrow.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ The check results are exposed via an API.
* [sparrow gen-docs](sparrow_gen-docs.md) - Generate markdown documentation
* [sparrow run](sparrow_run.md) - Run sparrow

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ See each sub-command's help for details on how to use the generated script.
* [sparrow completion powershell](sparrow_completion_powershell.md) - Generate the autocompletion script for powershell
* [sparrow completion zsh](sparrow_completion_zsh.md) - Generate the autocompletion script for zsh

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_completion_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ sparrow completion bash

* [sparrow completion](sparrow_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_completion_fish.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ sparrow completion fish [flags]

* [sparrow completion](sparrow_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_completion_powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ sparrow completion powershell [flags]

* [sparrow completion](sparrow_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_completion_zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ sparrow completion zsh [flags]

* [sparrow completion](sparrow_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_gen-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ sparrow gen-docs [flags]

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

###### Auto generated by spf13/cobra on 7-Dec-2023
1 change: 0 additions & 1 deletion docs/sparrow_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ sparrow run [flags]

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

###### Auto generated by spf13/cobra on 7-Dec-2023

0 comments on commit 759b5ca

Please sign in to comment.