diff --git a/doc/source/conf.py b/doc/source/conf.py index 1787335a..6444a247 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -7,7 +7,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', - 'oslosphinx', + 'openstackdocstheme', ] wsme_protocols = ['restjson'] @@ -58,9 +58,18 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. #html_theme_path = ["."] -#html_theme = '_theme' #html_static_path = ['_static'] +html_theme = 'openstackdocs' + +# openstackdocstheme options +repository_name = 'openstack/ironic-lib' +bug_project = 'ironic-lib' +bug_tag = '' + +# Must set this variable to include year, month, day, hours, and minutes. +html_last_updated_fmt = '%Y-%m-%d %H:%M' + # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project diff --git a/test-requirements.txt b/test-requirements.txt index 1646d1c3..6a22e662 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,4 +15,4 @@ testtools>=1.4.0 # MIT # Doc requirements doc8 # Apache-2.0 sphinx>=1.6.2 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +openstackdocstheme>=1.11.0 # Apache-2.0 \ No newline at end of file