summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpengyuesheng <pengyuesheng@gohighsec.com>2019-10-12 15:04:17 +0800
committerpengyuesheng <pengyuesheng@gohighsec.com>2019-11-12 17:04:47 +0800
commit5dda8dde84ae3d2536c8b52d80fa13c376ff9229 (patch)
treec341bf4d65e6f0e3e614bb855e4072ae90e5f6d6
parentdad48cabbe91ab6f4a4c511d39f9bfd5c2c0fc17 (diff)
downloadoslo-utils-5dda8dde84ae3d2536c8b52d80fa13c376ff9229.tar.gz
Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: Id5c6afef01c6f38cb72c3a6526352db40dcb3a87
-rw-r--r--doc/requirements.txt2
-rwxr-xr-xdoc/source/conf.py2
-rw-r--r--releasenotes/source/conf.py16
3 files changed, 1 insertions, 19 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index bff4da3..4bf9a83 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -4,6 +4,6 @@
# this is required for the docs build jobs
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
-openstackdocstheme>=1.18.1 # Apache-2.0
+openstackdocstheme>=1.20.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 25a0146..004256b 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -63,8 +63,6 @@ pygments_style = 'sphinx'
# html_static_path = ['static']
html_theme = 'openstackdocs'
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 261c648..7d4741d 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -57,7 +57,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'oslo.utils Release Notes'
copyright = u'2016, oslo.utils Developers'
# Release notes do not need a version in the title, they span
@@ -146,10 +145,6 @@ html_static_path = ['_static']
# directly to the root of the documentation.
# html_extra_path = []
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
# html_use_smartypants = True
@@ -193,17 +188,6 @@ htmlhelp_basename = 'oslo.utilsReleaseNotesDoc'
# -- Options for LaTeX output ---------------------------------------------
-latex_elements = {
- # The paper size ('letterpaper' or 'a4paper').
- # 'papersize': 'letterpaper',
-
- # The font size ('10pt', '11pt' or '12pt').
- # 'pointsize': '10pt',
-
- # Additional stuff for the LaTeX preamble.
- # 'preamble': '',
-}
-
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).