cobra/doc
Zoran Regvart 7790bf97fd
fix: correct command path in see_also for YAML doc (#1771)
The `see_also` section for child commands would include only the name of
the commands. This adds the whole path, similar to how it's done for the
other documentation formats.
2022-08-13 17:31:45 -04:00
..
cmd_test.go doc: GenMarkdown skip Synopsis on empty long cmd (#1207) 2020-08-26 09:18:51 -06:00
man_docs_test.go Prefer ReplaceAll instead of Replace(..., -1) (#1530) 2022-05-14 14:10:36 -06:00
man_docs.go Prefer ReplaceAll instead of Replace(..., -1) (#1530) 2022-05-14 14:10:36 -06:00
man_docs.md Fix #401 (#402) 2017-04-19 14:39:58 +02:00
man_examples_test.go Use golangci-lint (#1044) 2021-02-07 17:08:50 -07:00
md_docs_test.go Revert "Add the ability to specify a filePostpender in GenMarkdownTreeCustom (#1270)" (#1317) 2021-01-23 16:05:55 -07:00
md_docs.go Prefer ReplaceAll instead of Replace(..., -1) (#1530) 2022-05-14 14:10:36 -06:00
md_docs.md Change links from http:// to https:// (#1695) 2022-05-17 14:28:13 -04:00
README.md Man pages won't have auto gen tag when option is disabled (#1104) 2020-04-29 11:15:55 -06:00
rest_docs_test.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
rest_docs.go Prefer ReplaceAll instead of Replace(..., -1) (#1530) 2022-05-14 14:10:36 -06:00
rest_docs.md Change links from http:// to https:// (#1695) 2022-05-17 14:28:13 -04:00
util.go Correct a typo in doc/util.go (#1184) 2020-08-10 22:17:29 -06:00
yaml_docs_test.go fix: correct command path in see_also for YAML doc (#1771) 2022-08-13 17:31:45 -04:00
yaml_docs.go fix: correct command path in see_also for YAML doc (#1771) 2022-08-13 17:31:45 -04:00
yaml_docs.md Change links from http:// to https:// (#1695) 2022-05-17 14:28:13 -04:00

Documentation generation

Options

DisableAutoGenTag

You may set cmd.DisableAutoGenTag = true to entirely remove the auto generated string "Auto generated by spf13/cobra..." from any documentation source.