From a97d060ab919afbcd50859a3c921828ae1da342b Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Fri, 28 Jun 2019 11:06:30 +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. This will show other versions of the doc, too. Change-Id: I803117010bfbf6a7a5a17c1f6ca6109fc465e187 --- doc/requirements.txt | 2 +- releasenotes/source/conf.py | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index df4a783b..25b3d6eb 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -4,5 +4,5 @@ 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/releasenotes/source/conf.py b/releasenotes/source/conf.py index afeb71fa..d8b6a5ec 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -38,15 +38,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Sahara Dashboard Release Notes' copyright = u'2013, Sahara Developers' -# Release notes are version independent. -# The full version, including alpha/beta/rc tags. -release = '' -# The short X.Y version. -version = '' - # openstackdocstheme options repository_name = 'openstack/sahara-dashboard' bug_project = '936' @@ -131,11 +124,6 @@ html_theme = 'openstackdocs' # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '%b %d, %Y' -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True @@ -179,17 +167,6 @@ htmlhelp_basename = 'SaharaDashboardReleaseNotesdoc' # -- 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]).