Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: documenteer, Stack Documentation and UX
-
Labels:None
-
Story Points:0.4
-
Epic Link:
-
Team:SQuaRE
Description
Add sphinx-argparse to the documenteer[pipelines] dependency list to enable auto documentation of argparse-based scripts.
After some experimentation, I realized that sphinxcontrib.autoprogram actually works better than sphinx-argparse. It uses the native program and option directives to mark up the command line interface, which lets us do standard cross-references to command line options. It also renders better (definition lists rather than tables).