remove repetitive doc generating headings, combine all to one heading

This commit is contained in:
Shahidh 2017-10-07 21:08:37 +05:30
parent 83e1b0eeb5
commit 186b1c3ef0
No known key found for this signature in database
GPG key ID: 9903E455C1B45ECD

View file

@ -902,17 +902,13 @@ Did you mean this?
Run 'kubectl help' for usage.
```
## Generating Markdown-formatted documentation for your command
## Generating documentation for your command
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 documentation in the following formats based on subcommands, flags, etc.:
## 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
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).
- [Markdown](doc/md_docs.md)
- [ReStructured Text](doc/rest_docs.md)
- [Man Page](doc/man_docs.md)
## Generating bash completions for your command