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: Iae624665505cc5948756318ecf2914678c103461
This commit is contained in:
pengyuesheng 2019-10-12 14:31:55 +08:00
parent e14bf25335
commit 2c73f98ee6
2 changed files with 1 additions and 19 deletions

View File

@ -6,7 +6,7 @@ sphinx>=1.6.2 # BSD
actdiag
blockdiag
nwdiag
openstackdocstheme>=1.17.0 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
seqdiag
sphinxcontrib-actdiag
sphinxcontrib-blockdiag # BSD

View File

@ -63,7 +63,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Neutron Specifications'
copyright = u'%s, OpenStack Neutron Team' % datetime.date.today().year
# The language for content autogenerated by Sphinx. Refer to documentation
@ -136,12 +135,6 @@ html_theme = 'openstackdocs'
# pixels large.
#html_favicon = None
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
"-n1"]
html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
@ -185,17 +178,6 @@ htmlhelp_basename = 'Neutron-Specsdoc'
# -- 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]).
latex_documents = [