diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 81058461e..6eba87f01 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -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.