summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorVan Hung Pham <hungpv@vn.fujitsu.com>2017-07-03 13:31:42 +0700
committerVan Hung Pham <hungpv@vn.fujitsu.com>2017-07-14 13:24:45 +0700
commit16a75e8e353be33177c0bc8148029cb35599d29c (patch)
tree31e26e85d1b1f030eeda65c73306765fdee7d560 /doc/source
parentbb5c120460b0c657ceea82245ff8f13f5f64ec7f (diff)
downloadpython-cinderclient-16a75e8e353be33177c0bc8148029cb35599d29c.tar.gz
Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the openstackdocstheme. [0]https://review.openstack.org/#/c/472275/ Change-Id: Ie5930c73c748bb308940606fced8f84eecdecdc8
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index e19f38b..1af8db5 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -43,7 +43,7 @@ sys.path.insert(0, ROOT)
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
@@ -120,6 +120,7 @@ man_pages = [
# 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
@@ -188,6 +189,10 @@ html_static_path = ['_static']
# Output file base name for HTML help builder.
htmlhelp_basename = 'python-cinderclientdoc'
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# -- Options for LaTeX output -------------------------------------------------
@@ -220,4 +225,9 @@ latex_documents = [
# latex_appendices = []
# If false, no module index is generated.
-# latex_use_modindex = True \ No newline at end of file
+# latex_use_modindex = True
+
+# -- Options for openstackdocstheme -------------------------------------------
+repository_name = 'openstack/python-cinderclient'
+bug_project = 'cinderclient'
+bug_tag = ''