doc generation for commandline now extracted into an RST directly.

This commit is contained in:
2014-12-20 16:21:46 +01:00
parent 229b49e88d
commit 07c2bc5075
9 changed files with 288 additions and 23 deletions

View File

@@ -33,14 +33,11 @@ extensions = [
'sphinx.ext.todo',
]
if 1:
extensions += ['sphinxarg.ext']
sys.path.extend([
# to import 'bam.py'
os.path.join(os.path.dirname(__file__), "..", ".."),
# to access the 'sphinxarg' extension
os.path.abspath(os.path.join("..", "exts"))
])
# create bam_cli_argparse.rst
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
__import__("bam_cli_argparse").main()
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@@ -1,9 +0,0 @@
Client Reference
################
Here is a reference of all the BAM cli commands.
.. argparse::
:module: bam.cli
:func: create_argparse
:prog: bam