Browse code

doc: Switch from oslosphinx to openstackdocstheme

Per the manuals migration effort, switch to openstackdocstheme [1]

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I0463f7d39bd72f1d27cfe3f6d5395608b9ed6b29

Ian Wienand authored on 2017/07/24 09:34:22
Showing 2 changed files
... ...
@@ -26,7 +26,13 @@ import os
26 26
 
27 27
 # Add any Sphinx extension module names here, as strings. They can be extensions
28 28
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
29
-extensions = [ 'oslosphinx', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag' ]
29
+extensions = [ 'openstackdocstheme', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag' ]
30
+
31
+# openstackdocstheme options
32
+repository_name = 'openstack-dev/devstack'
33
+bug_project = 'devstack'
34
+bug_tag = ''
35
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
30 36
 
31 37
 todo_include_todos = True
32 38
 
... ...
@@ -87,7 +93,7 @@ man_pages = []
87 87
 
88 88
 # The theme to use for HTML and HTML Help pages.  See the documentation for
89 89
 # a list of builtin themes.
90
-html_theme = 'nature'
90
+html_theme = 'openstackdocs'
91 91
 
92 92
 # Theme options are theme-specific and customize the look and feel of a theme
93 93
 # further.  For a list of options available for each theme, see the
... ...
@@ -37,9 +37,9 @@ commands = bash -c "find {toxinidir}             \
37 37
 deps =
38 38
    Pygments
39 39
    docutils
40
-   sphinx>=1.5.1,<1.6.1
40
+   sphinx>=1.6.2
41 41
    pbr>=2.0.0,!=2.1.0
42
-   oslosphinx
42
+   openstackdocstheme>=1.11.0
43 43
    nwdiag
44 44
    blockdiag
45 45
    sphinxcontrib-blockdiag
... ...
@@ -53,8 +53,8 @@ commands =
53 53
 [testenv:venv]
54 54
 deps =
55 55
    pbr>=2.0.0,!=2.1.0
56
-   sphinx>=1.5.1,<1.6.1
57
-   oslosphinx
56
+   sphinx>=1.6.2
57
+   openstackdocstheme>=1.11.0
58 58
    blockdiag
59 59
    sphinxcontrib-blockdiag
60 60
    sphinxcontrib-nwdiag