Merge "Move openstackdocstheme to extensions in api-ref"

This commit is contained in:
Zuul 2019-05-01 21:03:47 +00:00 committed by Gerrit Code Review
commit e53a5ae1ef
1 changed files with 5 additions and 11 deletions

View File

@ -30,12 +30,10 @@ import warnings
extensions = [
'os_api_ref',
'openstackdocstheme',
]
import openstackdocstheme # noqa
html_theme = 'openstackdocs'
html_theme_path = [openstackdocstheme.get_html_theme_path()]
html_theme_options = {
"sidebar_mode": "toc",
}
@ -105,14 +103,10 @@ show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# Config logABug feature
# source tree
giturl = (
u'https://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source')
# html_context allows us to pass arbitrary values into the html template
html_context = {'bug_tag': 'api-ref',
'giturl': giturl,
'bug_project': 'magnum'}
# openstackdocstheme options
repository_name = 'openstack/magnum'
bug_project = 'magnum'
bug_tag = 'api-ref'
# -- Options for man page output ----------------------------------------------