add a local version of sphinx argparse extension

note, this has a local fix, the extension was documenting every alias separately,
submitted for inclusion upstream.
This commit is contained in:
2014-12-03 22:50:20 +01:00
parent 47666731b0
commit c1eee3c0aa
4 changed files with 486 additions and 1 deletions

View File

@@ -35,7 +35,12 @@ extensions = [
if 1:
extensions += ['sphinxarg.ext']
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "client", "cli"))
sys.path.extend([
# to import 'bam.py'
os.path.join(os.path.dirname(__file__), "..", "..", "client", "cli"),
# to access the 'sphinxarg' extension
os.path.abspath(os.path.join("..", "exts"))
])
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']