use openstackdocstheme html context

Set some of the new config values and enable openstackdocstheme as an
extension so it will inject values into the page context as it writes
each documentation page. This ensures the pages link to the right bug
tracker, etc.

Change-Id: Ifee9dcb2982313210fd66479b32e3c1203ce14de
Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-23 14:51:31 -04:00
parent 8f08eed13d
commit 4a6883c5e6
1 changed files with 7 additions and 0 deletions

View File

@ -37,8 +37,15 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'openstackdocstheme',
]
# openstackdocstheme options
repository_name = 'openstack/osc-lib'
bug_project = 'python-openstackclient'
bug_tag = 'osc-lib'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Add any paths that contain templates here, relative to this directory.
#templates_path = ['_templates']