From 8fc7612079c5eb26f961779c4382a94ab822a412 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Sat, 12 Oct 2019 14:52:45 +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: I2c9f7b72a52edde7b18dc66bcc8c655630b3bbc2 --- 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 cef9853f..970dcf67 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD sphinxcontrib-apidoc>=0.2.0 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 0a9e2030..f7095d26 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -33,7 +33,6 @@ extensions = [ repository_name = 'openstack/oslo.policy' bug_project = 'oslo.policy' bug_tag = '' -html_last_updated_fmt = '%Y-%m-%d %H:%M' # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. diff --git a/lower-constraints.txt b/lower-constraints.txt index d6d0429f..7717f7b5 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -25,7 +25,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 oslo.config==5.2.0 oslo.context==2.22.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 7f703761..5084a9dc 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -43,7 +43,6 @@ extensions = [ repository_name = 'openstack/oslo.policy' bug_project = 'oslo.policy' 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.policy Release Notes' copyright = u'2016, oslo.policy Developers' # Release notes do not need a version in the title, they span @@ -194,17 +192,6 @@ htmlhelp_basename = 'oslo.policyReleaseNotesDoc' # -- 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]).