summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
author翟小君 <zhaixiaojun@gohighsec.com>2019-06-06 10:22:32 +0800
committer翟小君 <zhaixiaojun@gohighsec.com>2019-07-04 13:53:20 +0800
commit95a469f9865264dba5d0e19dd29f034960100f62 (patch)
tree421fe7b56309df2e5a6a5d405cff14c363194c65 /doc/source
parenta9d9d347788f6a604d3dc7bbd43393efb73d8553 (diff)
downloadpython-cinderclient-95a469f9865264dba5d0e19dd29f034960100f62.tar.gz
Bump openstackdocstheme to 1.20.0
Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: Icbfa21da1e83f745a98822a2f33c4ebc8d11fd0c
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 3cfc842..a2b3d40 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -14,7 +14,7 @@
import os
import sys
-import pbr.version
+import openstackdocstheme
sys.setrecursionlimit(4000)
@@ -48,17 +48,12 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = 'python-cinderclient'
copyright = 'OpenStack Contributors'
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-version_info = pbr.version.VersionInfo('python-cinderclient')
-# The short X.Y version.
-version = version_info.version_string()
-# The full version, including alpha/beta/rc tags.
-release = version_info.release_string()
+# done by the openstackdocstheme ext
+# project = 'python-cinderclient'
+# version = version_info.version_string()
+# release = version_info.release_string()
# List of directories, relative to source directory, that shouldn't be searched
# for source files.
@@ -84,7 +79,7 @@ html_theme = 'openstackdocs'
# 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'
+# html_last_updated_fmt = '%Y-%m-%d %H:%M'
# -- Options for manual page output ------------------------------------------