From f7d8334829c926636aef469ccff45230bdc1dc7d Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Fri, 2 Aug 2019 15:11:02 +0800 Subject: 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: I161a3983e23b0ae50c232eb63ca78f8fd230e91e --- doc/requirements.txt | 2 +- doc/source/conf.py | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/requirements.txt b/doc/requirements.txt index bf40912..b805230 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -4,7 +4,7 @@ # For generating sphinx documentation doc8>=0.6.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 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,>=1.6.2;python_version>='3.4' # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 9e8aaff..b97fbbc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -71,18 +71,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'keystonemiddleware' copyright = 'OpenStack Contributors' -# 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. -version_info = pbr.version.VersionInfo('keystonemiddleware') -# The short X.Y version. -version = version_info.version_string() -# The full version, including alpha/beta/rc tags. -release = version_info.release_string() - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None @@ -163,10 +153,6 @@ html_theme = 'openstackdocs' # so a file named "default.css" will overwrite the builtin "default.css". 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. #html_use_smartypants = True -- cgit v1.2.1