From 3b6e17c0b61a9a5b43e990bcc245b836878fd6ce Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Fri, 11 Oct 2019 16:59:22 +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: I56c61bfda9fa68c6068ec008f81a8d04f28b2bbb --- lower-constraints.txt | 2 +- releasenotes/source/conf.py | 16 ---------------- test-requirements.txt | 2 +- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index c72e02b4..21df426e 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -28,7 +28,7 @@ mox3==0.20.0 msgpack-python==0.4.0 netaddr==0.7.18 netifaces==0.10.4 -openstackdocstheme==1.18.1 +openstackdocstheme==1.20.0 os-client-config==1.28.0 os-testr==1.0.0 oslo.config==5.2.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index a6da4544..1bef65c5 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -38,7 +38,6 @@ master_doc = 'index' # General information about the project. repository_name = u'openstack/monasca-persister' -project = u'Monitoring Persister Release Notes' # Release notes do not need a version number in the title, they # cover multiple releases. @@ -128,10 +127,6 @@ html_theme = 'openstackdocs' # 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 @@ -174,17 +169,6 @@ htmlhelp_basename = 'MonitoringApiReleaseNotesDoc' # -- 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]). diff --git a/test-requirements.txt b/test-requirements.txt index be25cb7b..5f04b527 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,4 +15,4 @@ pycodestyle>=2.5.0 # MIT 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 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0