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: I3e8d3a68aaa5da3318b2b253e8db982d64e4b1b6
Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-23 14:46:57 -04:00
parent 6e81b49d5a
commit adf7f5885b
1 changed files with 7 additions and 0 deletions

View File

@ -55,8 +55,15 @@ extensions = ['sphinx.ext.coverage',
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'oslo_config.sphinxconfiggen',
'openstackdocstheme',
]
# openstackdocstheme options
repository_name = 'openstack/glance'
bug_project = 'glance'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
config_generator_config_file = [
('../../etc/oslo-config-generator/glance-api.conf',
'_static/glance-api'),