From a1e08e508fa9a873ba3fe16d15176fc38e979e41 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 5 Apr 2019 17:21:08 -0700 Subject: [PATCH] Use openstackdocstheme. Oslosphinx seems to no longer work and is breaking our docs builds. Switch to openstackdocstheme instead. Change-Id: I72600ce84cb04bfa8350b273c030ae3914f7de40 --- doc/source/conf.py | 8 ++++++-- test-requirements.txt | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 6f67180..e98d9a8 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,7 +23,7 @@ sys.path.insert(0, os.path.abspath('../..')) extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'openstackdocstheme' ] # autodoc generation is a bit aggressive and a nuisance when doing heavy @@ -55,9 +55,13 @@ 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'] +# openstackdocstheme options +repository_name = 'openstack-infra/glean' +use_storyboard = True + # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project diff --git a/test-requirements.txt b/test-requirements.txt index 4fb286b..8d16cc5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,7 @@ coverage>=3.6 mock>=1.0 python-subunit sphinx>=1.1.2 -oslosphinx +openstackdocstheme oslotest>=1.1.0.0a1 testrepository>=0.0.18 testscenarios>=0.4