Browse Source

Merge "Move openstackdocstheme to extensions in api-ref"

changes/42/598142/4
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
e53a5ae1ef
1 changed files with 5 additions and 11 deletions
  1. +5
    -11
      api-ref/source/conf.py

+ 5
- 11
api-ref/source/conf.py 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 ----------------------------------------------


Loading…
Cancel
Save