summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-26 15:58:00 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-06-26 15:58:00 -0400
commitd1efd47a0b19072bc30a5d8206a0d5bfff3cdbb7 (patch)
treea53fc28c895e40264d448c05a6a5bb05d9f853ac
parent8455ebcf9dac74609f4c5f4aa760dd3dedb50b94 (diff)
downloaddjango_openstack_auth-d1efd47a0b19072bc30a5d8206a0d5bfff3cdbb7.tar.gz
switch from oslosphinx to openstackdocstheme
Change-Id: I98caec52c74b44d94372ff5c1f4ddc695a0c3d4c Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--doc/source/conf.py9
-rw-r--r--test-requirements.txt2
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 39d27e1..025fcc7 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 58047f3..0b00cef 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