summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Hai <nguyentrihai93@gmail.com>2018-03-16 00:28:01 +0900
committerNguyen Hai <nguyentrihai93@gmail.com>2018-05-23 01:54:48 +0000
commit78b839007294b7c9e7fd0402801775283a4045bc (patch)
tree808e9e064a404efebd08d8e1ecf47137627986fc
parentb5ed14f90a8214700a9be2139d9e7aba82baaa99 (diff)
downloadpython-swiftclient-78b839007294b7c9e7fd0402801775283a4045bc.tar.gz
Switch from oslosphinx to openstackdocstheme
openstackdocstheme is a theme and extension support for Sphinx documentation that is published to docs.openstack.org and developer.openstack.org. Change-Id: I37d1d50fb88b35e72b017d5dfbf148c35ac7e323
-rw-r--r--doc/source/conf.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 3505f13..f56b643 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -31,8 +31,11 @@ sys.path.insert(0, ROOT)
# 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', 'sphinx.ext.doctest', 'sphinx.ext.todo',
- 'sphinx.ext.coverage', 'oslosphinx']
+extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.doctest',
+ 'sphinx.ext.todo',
+ 'sphinx.ext.coverage',
+ 'openstackdocstheme']
autoclass_content = 'both'
autodoc_default_flags = ['members', 'undoc-members', 'show-inheritance']
@@ -104,7 +107,7 @@ pygments_style = 'sphinx'
# 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'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the