site/content/docgen/_index.md
raw| 1 | # Documentation generation |
| 2 | |
| 3 | - [Man page docs](man.md) |
| 4 | - [Markdown docs](md.md) |
| 5 | - [Rest docs](rest.md) |
| 6 | - [Yaml docs](yaml.md) |
| 7 | |
| 8 | ## Options |
| 9 | ### `DisableAutoGenTag` |
| 10 | |
| 11 | You may set `cmd.DisableAutoGenTag = true` |
| 12 | to _entirely_ remove the auto generated string "Auto generated by spf13/cobra..." |
| 13 | from any documentation source. |
| 14 | |
| 15 | ### `InitDefaultCompletionCmd` |
| 16 | |
| 17 | You may call `cmd.InitDefaultCompletionCmd()` to document the default autocompletion command. |