]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Bump the openstackdocstheme extension to 1.20
authorZhongShengping <chdzsp@163.com>
Tue, 13 Aug 2019 03:29:06 +0000 (11:29 +0800)
committerZhongShengping <chdzsp@163.com>
Tue, 13 Aug 2019 03:29:06 +0000 (11:29 +0800)
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: I23ee956b77096787c264a4c5ead93cef09061c79

doc/requirements.txt
releasenotes/source/conf.py

index 389d628c3f9e009e7d6778bf699c9fe188b64c98..1d9bc5a6c0881ae888941f7234d2d647ce2674c9 100644 (file)
@@ -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
index 3cd3ac4b01122918884daa5e097627c262cf6df0..39ecbcf0304d244e27a60fd57533faba1b41b34f 100644 (file)
@@ -45,7 +45,6 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'puppet-ceilometer Release Notes'
 copyright = u'2017, 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-ceilometerReleaseNotesdoc'
 
 # -- 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]).