Browse Source

switch from oslosphinx to openstackdocstheme

Change-Id: I02106accdc6e60911e836b686cf5328537725857
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
tags/0.23.0
Doug Hellmann 1 year ago
parent
commit
c8ca66f6d9
2 changed files with 9 additions and 3 deletions
  1. 8
    2
      doc/source/conf.py
  2. 1
    1
      test-requirements.txt

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

@@ -8,7 +8,13 @@ sys.path.insert(0, os.path.abspath('../..'))
8 8
 
9 9
 # Add any Sphinx extension module names here, as strings. They can be
10 10
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
11
-extensions = ['sphinx.ext.autodoc', 'oslosphinx']
11
+extensions = ['sphinx.ext.autodoc', 'openstackdocstheme']
12
+
13
+# openstackdocstheme options
14
+repository_name = 'openstack/mox3'
15
+bug_project = ''
16
+bug_tag = ''
17
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
12 18
 
13 19
 # autodoc generation is a bit aggressive and a nuisance when doing heavy
14 20
 # text edit cycles.
@@ -42,7 +48,7 @@ pygments_style = 'sphinx'
42 48
 # The theme to use for HTML and HTML Help pages.  Major themes that come with
43 49
 # Sphinx are currently 'default' and 'sphinxdoc'.
44 50
 # html_theme_path = ["."]
45
-# html_theme = '_theme'
51
+html_theme = 'openstackdocs'
46 52
 html_static_path = ['static']
47 53
 
48 54
 # Output file base name for HTML help builder.

+ 1
- 1
test-requirements.txt View File

@@ -17,5 +17,5 @@ six>=1.9.0 # MIT
17 17
 
18 18
 # this is required for the docs build jobs
19 19
 sphinx>=1.6.2 # BSD
20
-oslosphinx>=4.7.0 # Apache-2.0
20
+openstackdocstheme>=1.11.0 # Apache-2.0
21 21
 

Loading…
Cancel
Save