From 7465d902547bdbd56c8719543bafac2160bc71d1 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Fri, 2 Aug 2019 14:59:35 +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: I2281904c98f574dc5f42f31a12ebf5d1a4bdb48c --- doc/source/conf.py | 5 ----- lower-constraints.txt | 2 +- releasenotes/source/conf.py | 5 ----- test-requirements.txt | 2 +- 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 7a65501e0..85b5f5374 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -25,7 +25,6 @@ extensions = [ master_doc = 'index' # General information about the project. -project = u'os-brick' copyright = u'2015, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. @@ -44,10 +43,6 @@ pygments_style = 'sphinx' # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'openstackdocs' -# 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' - # -- Options for openstackdocstheme ------------------------------------------- repository_name = 'openstack/os-brick' diff --git a/lower-constraints.txt b/lower-constraints.txt index fa9624e38..5bfa512da 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -35,7 +35,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 os-win==3.0.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index c2da3bea6..aefa6138b 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -34,7 +34,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'OS-Brick Release Notes' copyright = u'2015, Cinder Developers' # Release notes are unversioned, so we don't need to set version and release @@ -47,10 +46,6 @@ release = '' # a list of builtin themes. html_theme = 'openstackdocs' -# 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' - # -- Options for openstackdocstheme ------------------------------------------- repository_name = 'openstack/os-brick' diff --git a/test-requirements.txt b/test-requirements.txt index 9d87aaa7c..c31455602 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,7 @@ ddt>=1.0.1 # MIT reno>=2.5.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 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT