[question] Is there a way to document the `Usage` section?
See original GitHub issueIs there a way to document the Usage
section?
We use docopt
to handle quite some devops task. There is quite some use-cases that are covered.
We have split the script into multiple files but there are still around 20 different things you can do in the Usage
section.
Documentation is very important in our organization.
I wonder if there is a way that we can add documentation (some string) for different commands in the Usage
section?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
The Generic Section element - HTML - MDN Web Docs - Mozilla
The HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it.
Read more >How To Ask Questions The Smart Way - Catb.org
As a second step, use project mailing lists Check the documentation of the project and its homepage for the address of a project...
Read more >Choose a question for your form - Google Docs Editors Help
You can include up to 2000 total choices and collect several types of answers in your form or quiz. Learn how to add...
Read more >Use comments to ask and answer questions about a document
Click in the document where you want to place the comment. In the text box on the right, type your question or comment....
Read more >Webmaster Frequently Asked Questions - SEC.gov
How can I use company filings to research companies and funds? ... How do I find any other related documents from that filing,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be fairly easy (e.g. https://github.com/SeeSpotRun/docopt/commit/9e41facd761f618b22cf45f27819e5b30bb593c1) to modify docopt to allow brief descriptions at the end of each Usage pattern. This can improve readability, particularly if there are 20 different commands as per @brodul’s case:
Perhaps something like this?