From a052a044bc28d5ea2e2f02c496009d06c9ab941f Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Sat, 12 Oct 2019 14:46:40 +0800 Subject: [PATCH] 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: Ia04d1de7e10783350e3aa091eab64d1cbd7f070a --- doc/requirements.txt | 2 +- doc/source/conf.py | 1 - lower-constraints.txt | 2 +- releasenotes/source/conf.py | 13 ------------- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 31b2dae..25408d9 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -4,7 +4,7 @@ # this is required for the docs build jobs 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.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 sphinxcontrib-apidoc>=0.2.0 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index b163d37..e3516e0 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -32,7 +32,6 @@ bug_tag = '' master_doc = 'index' # General information about the project. -project = u'oslo.concurrency' copyright = u'2014, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. diff --git a/lower-constraints.txt b/lower-constraints.txt index a42f65e..0c9143b 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -29,7 +29,7 @@ monotonic==0.6 mox3==0.20.0 netaddr==0.7.18 netifaces==0.10.4 -openstackdocstheme==1.18.1 +openstackdocstheme==1.20.0 os-client-config==1.28.0 oslo.config==5.2.0 oslo.i18n==3.15.3 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 8d2a1c9..2351d2f 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -43,7 +43,6 @@ extensions = [ repository_name = 'openstack/oslo.config' bug_project = 'oslo.config' bug_tag = '' -html_last_updated_fmt = '%Y-%m-%d %H:%M' # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -58,7 +57,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'oslo.concurrency Release Notes' copyright = u'2016, oslo.concurrency Developers' # Release notes do not need a version in the title, they span @@ -194,17 +192,6 @@ htmlhelp_basename = 'oslo.concurrencyReleaseNotesDoc' # -- 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]).