Move openstackdocstheme to extensions in api-ref
Move openstackdocstheme to extensions. According to the guide below: https://docs.openstack.org/openstackdocstheme/latest/ Change-Id: I58de11278e0cd203312c910057285800f82eb5d7
This commit is contained in:
parent
96e8e6c649
commit
e94f1a22e6
@ -30,12 +30,10 @@ import warnings
|
|||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
'os_api_ref',
|
'os_api_ref',
|
||||||
|
'openstackdocstheme',
|
||||||
]
|
]
|
||||||
|
|
||||||
import openstackdocstheme # noqa
|
|
||||||
|
|
||||||
html_theme = 'openstackdocs'
|
html_theme = 'openstackdocs'
|
||||||
html_theme_path = [openstackdocstheme.get_html_theme_path()]
|
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
"sidebar_mode": "toc",
|
"sidebar_mode": "toc",
|
||||||
}
|
}
|
||||||
@ -105,14 +103,10 @@ show_authors = False
|
|||||||
# The name of the Pygments (syntax highlighting) style to use.
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
pygments_style = 'sphinx'
|
pygments_style = 'sphinx'
|
||||||
|
|
||||||
# Config logABug feature
|
# openstackdocstheme options
|
||||||
# source tree
|
repository_name = 'openstack/magnum'
|
||||||
giturl = (
|
bug_project = 'magnum'
|
||||||
u'https://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source')
|
bug_tag = 'api-ref'
|
||||||
# html_context allows us to pass arbitrary values into the html template
|
|
||||||
html_context = {'bug_tag': 'api-ref',
|
|
||||||
'giturl': giturl,
|
|
||||||
'bug_project': 'magnum'}
|
|
||||||
|
|
||||||
# -- Options for man page output ----------------------------------------------
|
# -- Options for man page output ----------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user