From 00470c03b62a9d1b1ad93aca4264627cf7970fb0 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Fri, 26 Jul 2019 14:29:05 +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: If6fb08ed3e47c6981b9dd6092d57adf7fa914066 --- doc/requirements.txt | 2 +- doc/source/conf.py | 1 - lower-constraints.txt | 2 +- releasenotes/source/conf.py | 19 ------------------- 4 files changed, 2 insertions(+), 22 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index cf72d38cc..cee00fabf 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,5 +3,5 @@ # process, which may cause wedges in the gate later. 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 diff --git a/doc/source/conf.py b/doc/source/conf.py index bc2a5be7f..1a6e2538e 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -45,7 +45,6 @@ copyright = u'2013, OpenStack Foundation' repository_name = 'openstack/kuryr-kubernetes' bug_project = 'kuryr-kubernetes' bug_tag = '' -html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True diff --git a/lower-constraints.txt b/lower-constraints.txt index d15ff518f..fe73e59b1 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -55,7 +55,7 @@ munch==2.2.0 netaddr==0.7.19 netifaces==0.10.6 neutron-lib==1.13.0 -openstackdocstheme==1.18.1 +openstackdocstheme==1.20.0 openstacksdk==0.13.0 os-client-config==1.29.0 os-service-types==1.2.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 455496a95..9e57b045a 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -49,7 +49,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Kuryr-Kubernetes' copyright = u'2017, Kuryr-Kubernetes Developers' author = u'Kuryr-Kubernetes Developers' @@ -105,24 +104,6 @@ htmlhelp_basename = 'Kuryr-Kubernetesdoc' # -- 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': '', - - # Latex figure (float) alignment - # - # 'figure_align': 'htbp', -} - # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]).