From cbed9f46df0e7240c063c2c4bc7a0e6931a5f7d1 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 13 Aug 2019 11:29:08 +0800 Subject: [PATCH] Bump the openstackdocstheme extension to 1.20 Some options are now automatically configured by the version 1.20[1]: - project - html_last_updated_fmt - latex_engine - latex_elements [1]https://docs.openstack.org/openstackdocstheme/latest/#using-the-theme Change-Id: I914a5e015d46720ce2ecf92a7f9f606e2da3efb2 --- .../doc/requirements.txt | 2 +- .../releasenotes/source/conf.py | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/puppet-{{cookiecutter.project_name}}/doc/requirements.txt b/puppet-{{cookiecutter.project_name}}/doc/requirements.txt index 389d628..1d9bc5a 100644 --- a/puppet-{{cookiecutter.project_name}}/doc/requirements.txt +++ b/puppet-{{cookiecutter.project_name}}/doc/requirements.txt @@ -1,7 +1,7 @@ # This is required for the docs build jobs 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 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 # This is required for the releasenotes build jobs reno # Apache-2.0 diff --git a/puppet-{{cookiecutter.project_name}}/releasenotes/source/conf.py b/puppet-{{cookiecutter.project_name}}/releasenotes/source/conf.py index 9ac992d..d1362cf 100644 --- a/puppet-{{cookiecutter.project_name}}/releasenotes/source/conf.py +++ b/puppet-{{cookiecutter.project_name}}/releasenotes/source/conf.py @@ -45,7 +45,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'puppet-{{cookiecutter.project_name}} Release Notes' copyright = u'{{cookiecutter.year}}, Puppet OpenStack Developers' # The version info for the project you're documenting, acts as replacement for @@ -138,7 +137,6 @@ html_static_path = ['_static'] # 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. @@ -183,17 +181,6 @@ htmlhelp_basename = 'puppet-{{cookiecutter.project_name}}ReleaseNotesdoc' # -- 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]).