Move openstackdocstheme to extensions in api-ref
Move openstackdocstheme to extensions. According to the guide below: https://docs.openstack.org/openstackdocstheme/latest/ Change-Id: I7e322de0357efd4df4e223346130c5c2f525a9c7
This commit is contained in:
parent
340b3aa82b
commit
f1feb2e51f
|
@ -26,15 +26,14 @@ import os
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
import openstackdocstheme # noqa
|
||||
from senlin.version import version_info
|
||||
|
||||
extensions = [
|
||||
'os_api_ref',
|
||||
'openstackdocstheme',
|
||||
]
|
||||
|
||||
html_theme = 'openstackdocs'
|
||||
html_theme_path = [openstackdocstheme.get_html_theme_path()]
|
||||
html_theme_options = {
|
||||
"sidebar_mode": "toc",
|
||||
}
|
||||
|
@ -74,9 +73,10 @@ release = version_info.release_string()
|
|||
# The short X.Y version.
|
||||
version = version_info.version_string()
|
||||
|
||||
# html_context allows us to pass arbitrary values into the html template
|
||||
html_context = {'bug_tag': 'api-ref',
|
||||
'bug_project': 'senlin'}
|
||||
# openstackdocstheme options
|
||||
repository_name = 'openstack/senlin'
|
||||
bug_project = 'senlin'
|
||||
bug_tag = 'api-ref'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Loading…
Reference in New Issue