summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-16 15:29:01 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-06-28 12:25:30 -0400
commitb7a0cd0e66ac07944a80a60232ad39e5de6555e0 (patch)
tree2fc76abbe230e760a4ed57d12b73920551f42369 /doc
parentca7faf6bb596284e8c61715d3e6271c417a27472 (diff)
downloadpython-glanceclient-b7a0cd0e66ac07944a80a60232ad39e5de6555e0.tar.gz
switch to openstackdocstheme
Change-Id: Id687e3405d8afe0db201eb648941cc51bb9f741e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0056074..4185e4b 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -16,6 +16,8 @@
import os
import sys
+import openstackdocstheme
+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
'..', '..')))
@@ -23,7 +25,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'oslosphinx']
+extensions = ['sphinx.ext.autodoc']
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
@@ -54,6 +56,15 @@ pygments_style = 'sphinx'
# -- Options for HTML output --------------------------------------------------
+# The theme to use for HTML and HTML Help pages. Major themes that come with
+# Sphinx are currently 'default' and 'sphinxdoc'.
+#html_theme = 'nature'
+html_theme = 'openstackdocs'
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = ['_theme']
+html_theme_path = [openstackdocstheme.get_html_theme_path()]
+
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project