From 6dc128636e6161851272d534d47dfbd422f65161 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Tue, 18 Nov 2014 00:16:21 -0500 Subject: Enhance the theming for modules page Also fixes a few small docstring syntax errors Change-Id: I85eb968e32c1191cf5d60d02deff2ab7f3291074 --- doc/source/conf.py | 8 +++++++- doc/source/index.rst | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/source') 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'] diff --git a/doc/source/index.rst b/doc/source/index.rst index 0f92b3f0..a3c6516d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -37,8 +37,8 @@ the openstack/python-openstackclient project using `Gerrit`_. .. _Launchpad: https://launchpad.net/python-openstackclient .. _Gerrit: http://wiki.openstack.org/GerritWorkflow -Index -===== +Indices and Tables +================== * :ref:`genindex` * :ref:`modindex` -- cgit v1.2.1