From c8ca66f6d98540e927951be71c318d6858dceffa Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 6 Jul 2017 15:47:45 -0400 Subject: [PATCH] switch from oslosphinx to openstackdocstheme Change-Id: I02106accdc6e60911e836b686cf5328537725857 Signed-off-by: Doug Hellmann --- doc/source/conf.py | 10 ++++++++-- test-requirements.txt | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 12d6b6f..73c79b2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -8,7 +8,13 @@ sys.path.insert(0, os.path.abspath('../..')) # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'oslosphinx'] +extensions = ['sphinx.ext.autodoc', 'openstackdocstheme'] + +# openstackdocstheme options +repository_name = 'openstack/mox3' +bug_project = '' +bug_tag = '' +html_last_updated_fmt = '%Y-%m-%d %H:%M' # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. @@ -42,7 +48,7 @@ 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_theme = 'openstackdocs' html_static_path = ['static'] # Output file base name for HTML help builder. diff --git a/test-requirements.txt b/test-requirements.txt index c0c76a5..3a6dce8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,5 +17,5 @@ six>=1.9.0 # MIT # this is required for the docs build jobs sphinx>=1.6.2 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +openstackdocstheme>=1.11.0 # Apache-2.0