diff options
author | pengyuesheng <pengyuesheng@gohighsec.com> | 2019-07-03 14:49:58 +0800 |
---|---|---|
committer | pengyuesheng <pengyuesheng@gohighsec.com> | 2019-08-01 09:44:54 +0800 |
commit | f7e75f43d811c8e1028746b2574322afa53dbaac (patch) | |
tree | 011a5ddd0c9b5b5eb948c3ad3e30a204e5cb15c5 | |
parent | d27ac84cc2d79102bc91ec00119786b5a5f4c546 (diff) | |
download | python-keystoneclient-f7e75f43d811c8e1028746b2574322afa53dbaac.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.
Depends-On:https://review.opendev.org/#/c/660609/
Change-Id: I83ee2a89ae0a8158ed955581b738cea6ca93707d
-rw-r--r-- | doc/requirements.txt | 2 | ||||
-rw-r--r-- | doc/source/conf.py | 16 | ||||
-rw-r--r-- | releasenotes/source/conf.py | 17 |
3 files changed, 1 insertions, 34 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt index 7e42ea9..67c99ed 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,7 +3,7 @@ # 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.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD reno>=2.5.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 5636305..c5b98f9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -15,8 +15,6 @@ from __future__ import unicode_literals import os import sys -import pbr.version - sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))) @@ -53,18 +51,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'python-keystoneclient' 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-keystoneclient') -# The short X.Y version. -version = version_info.version_string() -# The full version, including alpha/beta/rc tags. -release = version_info.release_string() - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None @@ -145,10 +133,6 @@ html_theme = 'openstackdocs' # so a file named "default.css" will overwrite the builtin "default.css". #html_static_path = ['static'] -# 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 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index f023598..b06cddf 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -54,7 +54,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'keystoneclient Release Notes' copyright = u'2015, Keystone Developers' # Release notes are version independent. @@ -142,11 +141,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 @@ -190,17 +184,6 @@ htmlhelp_basename = 'KeystoneClientReleaseNotesdoc' # -- 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]). |