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)
switch from oslosphinx to openstackdocstheme
Change-Id: I98caec52c74b44d94372ff5c1f4ddc695a0c3d4c Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: Rob Cresswell <robert.cresswell@outlook.com> Workflow+1: Rob Cresswell <robert.cresswell@outlook.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 28 Jun 2017 07:47:48 +0000 Reviewed-on: https://review.openstack.org/477660 Project: openstack/django_openstack_auth Branch: refs/heads/master
-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()
31 31
32# Add any Sphinx extension module names here, as strings. They can be extensions 32# Add any Sphinx extension module names here, as strings. They can be extensions
33# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 33# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'oslosphinx'] 34extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme']
35
36# openstackdocstheme options
37repository_name = 'openstack/django_openstack_auth'
38bug_project = 'django-openstack-auth'
39bug_tag = ''
35 40
36# Add any paths that contain templates here, relative to this directory. 41# Add any paths that contain templates here, relative to this directory.
37templates_path = ['_templates'] 42templates_path = ['_templates']
@@ -88,7 +93,7 @@ modindex_common_prefix = ['openstack_auth.']
88 93
89# The theme to use for HTML and HTML Help pages. See the documentation for 94# The theme to use for HTML and HTML Help pages. See the documentation for
90# a list of builtin themes. 95# a list of builtin themes.
91html_theme = 'default' 96html_theme = 'openstackdocs'
92 97
93# Theme options are theme-specific and customize the look and feel of a theme 98# Theme options are theme-specific and customize the look and feel of a theme
94# further. For a list of options available for each theme, see the 99# 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
7mock>=2.0 # BSD 7mock>=2.0 # BSD
8mox3!=0.19.0,>=0.7.0 # Apache-2.0 8mox3!=0.19.0,>=0.7.0 # Apache-2.0
9sphinx!=1.6.1,>=1.5.1 # BSD 9sphinx!=1.6.1,>=1.5.1 # BSD
10oslosphinx>=4.7.0 # Apache-2.0 10openstackdocstheme>=1.11.0 # Apache-2.0
11testscenarios>=0.4 # Apache-2.0/BSD 11testscenarios>=0.4 # Apache-2.0/BSD