summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2014-11-18 00:16:21 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2014-11-18 22:07:57 -0500
commit6dc128636e6161851272d534d47dfbd422f65161 (patch)
tree872ddb6606e39ed40b29ab35748b8b8baf735cc5 /doc/source/conf.py
parent3b1c308b11adebd4914d3947cb8f3ffb18dfba24 (diff)
downloadpython-openstackclient-6dc128636e6161851272d534d47dfbd422f65161.tar.gz
Enhance the theming for modules page
Also fixes a few small docstring syntax errors Change-Id: I85eb968e32c1191cf5d60d02deff2ab7f3291074
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 7c7a00b3..e805a987 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -22,6 +22,10 @@ import pbr.version
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
+# NOTE(blk-u): Path for our Sphinx extension, remove when
+# https://launchpad.net/bugs/1260495 is fixed.
+sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
+
# -- General configuration ----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -32,7 +36,9 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..',
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
- 'oslosphinx']
+ 'oslosphinx',
+ 'ext.apidoc',
+ ]
# Add any paths that contain templates here, relative to this directory.
#templates_path = ['_templates']