2020-04-29 17:15:55 +00:00
|
|
|
# Documentation generation
|
|
|
|
|
2023-01-19 10:23:38 +00:00
|
|
|
- [Asciidoc docs](./asciidoc_docs.md)
|
2020-04-29 17:15:55 +00:00
|
|
|
- [Man page docs](./man_docs.md)
|
|
|
|
- [Markdown docs](./md_docs.md)
|
|
|
|
- [Rest docs](./rest_docs.md)
|
|
|
|
- [Yaml docs](./yaml_docs.md)
|
|
|
|
|
|
|
|
## Options
|
|
|
|
### `DisableAutoGenTag`
|
2022-10-10 23:06:30 +00:00
|
|
|
|
2020-04-29 17:15:55 +00:00
|
|
|
You may set `cmd.DisableAutoGenTag = true`
|
|
|
|
to _entirely_ remove the auto generated string "Auto generated by spf13/cobra..."
|
|
|
|
from any documentation source.
|
2022-10-10 23:06:30 +00:00
|
|
|
|
|
|
|
### `InitDefaultCompletionCmd`
|
|
|
|
|
|
|
|
You may call `cmd.InitDefaultCompletionCmd()` to document the default autocompletion command.
|