From d1efd47a0b19072bc30a5d8206a0d5bfff3cdbb7 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 26 Jun 2017 15:58:00 -0400 Subject: [PATCH] switch from oslosphinx to openstackdocstheme Change-Id: I98caec52c74b44d94372ff5c1f4ddc695a0c3d4c Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb Signed-off-by: Doug Hellmann --- doc/source/conf.py | 9 +++++++-- test-requirements.txt | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 39d27e1a..025fcc7d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -31,7 +31,12 @@ django.setup() # 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', 'sphinx.ext.viewcode', 'oslosphinx'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme'] + +# openstackdocstheme options +repository_name = 'openstack/django_openstack_auth' +bug_project = 'django-openstack-auth' +bug_tag = '' # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -88,7 +93,7 @@ modindex_common_prefix = ['openstack_auth.'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/test-requirements.txt b/test-requirements.txt index 58047f34..0b00cef0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,5 +7,5 @@ coverage!=4.4,>=4.0 # Apache-2.0 mock>=2.0 # BSD mox3!=0.19.0,>=0.7.0 # Apache-2.0 sphinx!=1.6.1,>=1.5.1 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +openstackdocstheme>=1.11.0 # Apache-2.0 testscenarios>=0.4 # Apache-2.0/BSD