summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-07-06 15:47:45 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-07-06 15:47:45 -0400
commitc8ca66f6d98540e927951be71c318d6858dceffa (patch)
treea7deb7d100f01a6c54b4d693a151d3392ae3353d
parenta40362806adbee6d11a31f5c91b7ea1328a6cb44 (diff)
switch from oslosphinx to openstackdocstheme
Change-Id: I02106accdc6e60911e836b686cf5328537725857 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: ChangBo Guo(gcb) <glongwave@gmail.com> Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com> Workflow+1: Davanum Srinivas (dims) <davanum@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 10 Jul 2017 15:09:07 +0000 Reviewed-on: https://review.openstack.org/481210 Project: openstack/mox3 Branch: refs/heads/master
-rw-r--r--doc/source/conf.py10
-rw-r--r--test-requirements.txt2
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 12d6b6f..73c79b2 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -8,7 +8,13 @@ sys.path.insert(0, os.path.abspath('../..'))
8 8
9# Add any Sphinx extension module names here, as strings. They can be 9# Add any Sphinx extension module names here, as strings. They can be
10# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 10# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
11extensions = ['sphinx.ext.autodoc', 'oslosphinx'] 11extensions = ['sphinx.ext.autodoc', 'openstackdocstheme']
12
13# openstackdocstheme options
14repository_name = 'openstack/mox3'
15bug_project = ''
16bug_tag = ''
17html_last_updated_fmt = '%Y-%m-%d %H:%M'
12 18
13# autodoc generation is a bit aggressive and a nuisance when doing heavy 19# autodoc generation is a bit aggressive and a nuisance when doing heavy
14# text edit cycles. 20# text edit cycles.
@@ -42,7 +48,7 @@ pygments_style = 'sphinx'
42# The theme to use for HTML and HTML Help pages. Major themes that come with 48# The theme to use for HTML and HTML Help pages. Major themes that come with
43# Sphinx are currently 'default' and 'sphinxdoc'. 49# Sphinx are currently 'default' and 'sphinxdoc'.
44# html_theme_path = ["."] 50# html_theme_path = ["."]
45# html_theme = '_theme' 51html_theme = 'openstackdocs'
46html_static_path = ['static'] 52html_static_path = ['static']
47 53
48# Output file base name for HTML help builder. 54# Output file base name for HTML help builder.
diff --git a/test-requirements.txt b/test-requirements.txt
index c0c76a5..3a6dce8 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -17,5 +17,5 @@ six>=1.9.0 # MIT
17 17
18# this is required for the docs build jobs 18# this is required for the docs build jobs
19sphinx>=1.6.2 # BSD 19sphinx>=1.6.2 # BSD
20oslosphinx>=4.7.0 # Apache-2.0 20openstackdocstheme>=1.11.0 # Apache-2.0
21 21