From d155a90890e7794c073f6441e710f1f23f0f7ad1 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Mon, 29 Jul 2019 15:51:47 +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: I6e7c0b0ce266d359fc6db595b0201c43b3b40fc3 --- doc/source/conf.py | 12 ------------ releasenotes/source/conf.py | 12 ------------ test-requirements.txt | 2 +- 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index e594221f..9c584cf5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -31,18 +31,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'TripleO Puppet Elements' copyright = u'2014, OpenStack Developers' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = '0.0' -# The full version, including alpha/beta/rc tags. -release = '0.0' - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # language = None @@ -169,8 +159,6 @@ htmlhelp_basename = 'TripleOPuppetElementsdoc' # -- Options for LaTeX output --------------------------------------------- -latex_elements = {} - # 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/releasenotes/source/conf.py b/releasenotes/source/conf.py index 1614176e..e7dcdc18 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -44,7 +44,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'tripleo-puppet-elements Release Notes' copyright = u'2016, TripleO Developers' # The version info for the project you're documenting, acts as replacement for @@ -186,17 +185,6 @@ htmlhelp_basename = 'tripleo-puppet-elementsReleaseNotesdoc' # -- 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 1fdb301d..8ffef289 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,7 @@ oslotest 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.17.0 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 testrepository>=0.0.18 # This is required for the releasenotes build jobs