summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorpengyuesheng <pengyuesheng@gohighsec.com>2019-07-04 16:55:16 +0800
committerpengyuesheng <pengyuesheng@gohighsec.com>2019-07-05 09:24:52 +0800
commit250c571c0002e13193e9bf88635eaa4a182178b8 (patch)
tree6da4e197b76c26e92d67b8a5d1530ad83bfdf993 /doc
parent7679e2057a07998fdf1b2cb4a8fd825c20ee469d (diff)
downloadoslo-middleware-250c571c0002e13193e9bf88635eaa4a182178b8.tar.gz
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: Ibba92185735ed6b41486678fab6390a3168888e2
Diffstat (limited to 'doc')
-rw-r--r--doc/requirements.txt2
-rwxr-xr-xdoc/source/conf.py20
2 files changed, 1 insertions, 21 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 263cc86..a01432a 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# These are needed for docs generation
-openstackdocstheme>=1.18.1 # Apache-2.0
+openstackdocstheme>=1.20.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
reno>=2.5.0 # Apache-2.0
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ea0a2d5..44499e2 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -33,9 +33,6 @@ repository_name = 'openstack/oslo.middleware'
bug_project = 'oslo.middleware'
bug_tag = ''
-# Must set this variable to include year, month, day, hours, and minutes.
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -47,7 +44,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'oslo.middleware'
copyright = u'2014, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
@@ -67,19 +63,3 @@ pygments_style = 'sphinx'
# html_theme_path = ["."]
html_theme = 'openstackdocs'
# html_static_path = ['static']
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = '%sdoc' % project
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass
-# [howto/manual]).
-latex_documents = [
- ('index',
- '%s.tex' % project,
- u'%s Documentation' % project,
- u'OpenStack Foundation', 'manual'),
-]
-
-# Example configuration for intersphinx: refer to the Python standard library.
-#intersphinx_mapping = {'http://docs.python.org/': None}