Browse Source

switch from oslosphinx to openstackdocstheme

Change-Id: I98caec52c74b44d94372ff5c1f4ddc695a0c3d4c
Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 1 year ago
parent
commit
d1efd47a0b
2 changed files with 8 additions and 3 deletions
  1. 7
    2
      doc/source/conf.py
  2. 1
    1
      test-requirements.txt

+ 7
- 2
doc/source/conf.py View File

@@ -31,7 +31,12 @@ django.setup()
31 31
 
32 32
 # Add any Sphinx extension module names here, as strings. They can be extensions
33 33
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'oslosphinx']
34
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme']
35
+
36
+# openstackdocstheme options
37
+repository_name = 'openstack/django_openstack_auth'
38
+bug_project = 'django-openstack-auth'
39
+bug_tag = ''
35 40
 
36 41
 # Add any paths that contain templates here, relative to this directory.
37 42
 templates_path = ['_templates']
@@ -88,7 +93,7 @@ modindex_common_prefix = ['openstack_auth.']
88 93
 
89 94
 # The theme to use for HTML and HTML Help pages.  See the documentation for
90 95
 # a list of builtin themes.
91
-html_theme = 'default'
96
+html_theme = 'openstackdocs'
92 97
 
93 98
 # Theme options are theme-specific and customize the look and feel of a theme
94 99
 # further.  For a list of options available for each theme, see the

+ 1
- 1
test-requirements.txt View File

@@ -7,5 +7,5 @@ coverage!=4.4,>=4.0 # Apache-2.0
7 7
 mock>=2.0 # BSD
8 8
 mox3!=0.19.0,>=0.7.0 # Apache-2.0
9 9
 sphinx!=1.6.1,>=1.5.1 # BSD
10
-oslosphinx>=4.7.0 # Apache-2.0
10
+openstackdocstheme>=1.11.0  # Apache-2.0
11 11
 testscenarios>=0.4 # Apache-2.0/BSD

Loading…
Cancel
Save