Skip to content

Commit 95a469f

Browse files
author
翟小君
committed
Bump openstackdocstheme to 1.20.0
Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: Icbfa21da1e83f745a98822a2f33c4ebc8d11fd0c
1 parent a9d9d34 commit 95a469f

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
44
# These are needed for docs generation
5-
openstackdocstheme>=1.18.1 # Apache-2.0
5+
openstackdocstheme>=1.20.0 # Apache-2.0
66
reno>=2.5.0 # Apache-2.0
77
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
88
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD

doc/source/conf.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import os
1616
import sys
17-
import pbr.version
17+
import openstackdocstheme
1818

1919
sys.setrecursionlimit(4000)
2020

@@ -48,17 +48,12 @@
4848
master_doc = 'index'
4949

5050
# General information about the project.
51-
project = 'python-cinderclient'
5251
copyright = 'OpenStack Contributors'
5352

54-
# The version info for the project you're documenting, acts as replacement for
55-
# |version| and |release|, also used in various other places throughout the
56-
# built documents.
57-
version_info = pbr.version.VersionInfo('python-cinderclient')
58-
# The short X.Y version.
59-
version = version_info.version_string()
60-
# The full version, including alpha/beta/rc tags.
61-
release = version_info.release_string()
53+
# done by the openstackdocstheme ext
54+
# project = 'python-cinderclient'
55+
# version = version_info.version_string()
56+
# release = version_info.release_string()
6257

6358
# List of directories, relative to source directory, that shouldn't be searched
6459
# for source files.
@@ -84,7 +79,7 @@
8479
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
8580
# using the given strftime format.
8681
# html_last_updated_fmt = '%b %d, %Y'
87-
html_last_updated_fmt = '%Y-%m-%d %H:%M'
82+
# html_last_updated_fmt = '%Y-%m-%d %H:%M'
8883

8984
# -- Options for manual page output ------------------------------------------
9085

0 commit comments

Comments
 (0)