mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
add reference to rest docs in readme
This commit is contained in:
parent
5f7b6e7380
commit
83e1b0eeb5
1 changed files with 4 additions and 0 deletions
|
@ -906,6 +906,10 @@ Run 'kubectl help' for usage.
|
||||||
|
|
||||||
Cobra can generate a Markdown-formatted document based on the subcommands, flags, etc. A simple example of how to do this for your command can be found in [Markdown Docs](doc/md_docs.md).
|
Cobra can generate a Markdown-formatted document based on the subcommands, flags, etc. A simple example of how to do this for your command can be found in [Markdown Docs](doc/md_docs.md).
|
||||||
|
|
||||||
|
## Generating reStructured Text-formatted documentation for your command
|
||||||
|
|
||||||
|
Cobra can generate a reStructured Text-formatted document based on the subcommands, flags, etc. A simple example of how to do this for your command can be found in [ReST Docs](doc/rest_docs.md).
|
||||||
|
|
||||||
## Generating man pages for your command
|
## Generating man pages for your command
|
||||||
|
|
||||||
Cobra can generate a man page based on the subcommands, flags, etc. A simple example of how to do this for your command can be found in [Man Docs](doc/man_docs.md).
|
Cobra can generate a man page based on the subcommands, flags, etc. A simple example of how to do this for your command can be found in [Man Docs](doc/man_docs.md).
|
||||||
|
|
Loading…
Add table
Reference in a new issue