summaryrefslogtreecommitdiff
path: root/releasenotes/source/conf.py
diff options
context:
space:
mode:
authorHanxi Liu <hanxi.liu@easystack.cn>2017-06-23 11:11:39 +0800
committerHanxi_Liu <hanxi.liu@easystack.cn>2017-07-12 23:39:32 +0800
commit2bc27e6edf5cb377225d244a14f5c3a75acdbb19 (patch)
tree49392810d96e5bdeefe1277d91c9dab555098766 /releasenotes/source/conf.py
parent3b4e35abada626ce052f20d55c71fe12ab77052a (diff)
downloadpython-ceilometerclient-2bc27e6edf5cb377225d244a14f5c3a75acdbb19.tar.gz
Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1]. Update the docs theme to openstackdocstheme instead of oslosphinx. [1] https://review.openstack.org/#/c/472275/ Change-Id: Ic24ad9d7759ab9169bcc68db8c6d79e4bc69a76b
Diffstat (limited to 'releasenotes/source/conf.py')
-rw-r--r--releasenotes/source/conf.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index ecb154a..9ddac03 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -38,8 +38,8 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
'reno.sphinxext',
+ 'openstackdocstheme'
]
# Add any paths that contain templates here, relative to this directory.
@@ -112,7 +112,12 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
+
+# openstackdocstheme options
+repository_name = 'openstack/python-ceilometerclient'
+bug_project = 'python-ceilometerclient'
+bug_tag = ''
# 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
@@ -151,6 +156,7 @@ html_static_path = ['_static']
# 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'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.