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

Note that we don't actually drop 'project' since it's referenced
elsewhere in the file and cleaning that up would be hassle.

Change-Id: Ibe4add5a9391c3b3bc49206c9ac65721cedddf5a
This commit is contained in:
pengyuesheng 2019-10-12 14:49:06 +08:00 committed by Stephen Finucane
parent 8c4c5fd43e
commit 39923ae345
3 changed files with 1 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# These are needed for docs generation
openstackdocstheme>=1.18.1 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
reno>=2.5.0 # Apache-2.0

View File

@ -58,11 +58,6 @@ pygments_style = 'sphinx'
# html_static_path = ['static']
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'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project

View File

@ -52,7 +52,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'oslo.context Release Notes'
copyright = u'2016, oslo.context Developers'
# Release notes do not need a version in the title, they span
@ -141,11 +140,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 = '%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.
# html_use_smartypants = True
@ -189,17 +183,6 @@ htmlhelp_basename = 'oslo.contextReleaseNotesDoc'
# -- 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]).