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: Ifea7c76efeb96af3b8ef4a21529e5b60fd1f0348
This commit is contained in:
pengyuesheng 2019-07-08 10:21:02 +08:00
parent a8651ec642
commit 0d7aa08238
3 changed files with 4 additions and 22 deletions

View File

@ -4,4 +4,4 @@
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
openstackdocstheme>=1.11.0 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0

View File

@ -81,7 +81,6 @@ master_doc = 'index'
repository_name = 'openstack/python-aodhclient'
bug_project = 'python-aodhclient'
bug_tag = ''
project = u'aodhclient'
copyright = u'2015, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
@ -102,21 +101,20 @@ pygments_style = 'sphinx'
# html_theme = '_theme'
# html_static_path = ['static']
html_theme = 'openstackdocs'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = ['_theme']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
htmlhelp_basename = 'aodhclientdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
'aodhclient.tex',
u'aodhclient Documentation',
u'OpenStack Foundation', 'manual'),
]

View File

@ -55,7 +55,6 @@ master_doc = 'index'
repository_name = 'openstack/python-aodhclient'
bug_project = 'python-aodhclient'
bug_tag = ''
project = u'Aodh Client Release Notes'
copyright = u'2015-present, Aodh developers'
# Release notes are version independent.
@ -143,10 +142,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
@ -190,17 +185,6 @@ htmlhelp_basename = 'AodhClientReleaseNotestdoc'
# -- 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]).