docs: use sphinx arg parser extension to document args

This commit is contained in:
2014-12-03 19:07:03 +01:00
parent 89e4caa75a
commit 58955c2e7c
2 changed files with 8 additions and 2 deletions

View File

@@ -33,6 +33,10 @@ extensions = [
'sphinx.ext.todo',
]
if 1:
extensions += ['sphinxarg.ext']
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "client", "cli"))
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@@ -3,5 +3,7 @@ Client Reference
Here is a reference of all the BAM cli commands.
bam init
Initializes a Project. Available in a few variations.
.. argparse::
:module: bam
:func: create_argparse
:prog: bam