Skip to content

Commit d29d1d1

Browse files
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: I3a5c7e115d0c4f52b015d0d55eb09c9836cd2fe7
1 parent 102bc41 commit d29d1d1

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

api-ref/source/conf.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
# All configuration values have a default; values that are commented out
2323
# serve to show the default.
2424

25-
from nova.version import version_info
26-
2725

2826
extensions = [
2927
'openstackdocstheme',
@@ -42,23 +40,13 @@
4240
master_doc = 'index'
4341

4442
# General information about the project.
45-
project = u'Compute API Reference'
4643
copyright = u'2010-present, OpenStack Foundation'
4744

4845
# openstackdocstheme options
4946
repository_name = 'openstack/nova'
5047
bug_project = 'nova'
5148
bug_tag = 'api-ref'
5249

53-
# The version info for the project you're documenting, acts as replacement for
54-
# |version| and |release|, also used in various other places throughout the
55-
# built documents.
56-
#
57-
# The full version, including alpha/beta/rc tags.
58-
release = version_info.release_string()
59-
# The short X.Y version.
60-
version = version_info.version_string()
61-
6250
# The name of the Pygments (syntax highlighting) style to use.
6351
pygments_style = 'sphinx'
6452

@@ -75,10 +63,6 @@
7563
"sidebar_mode": "toc",
7664
}
7765

78-
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
79-
# using the given strftime format.
80-
html_last_updated_fmt = '%Y-%m-%d %H:%M'
81-
8266
# -- Options for LaTeX output -------------------------------------------------
8367

8468
# Grouping the document tree into LaTeX files. List of tuples

doc/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
master_doc = 'index'
7070

7171
# General information about the project.
72-
project = u'nova'
7372
copyright = u'2010-present, OpenStack Foundation'
7473

7574
# The name of the Pygments (syntax highlighting) style to use.

releasenotes/source/conf.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,12 @@
4141
master_doc = 'index'
4242

4343
# General information about the project.
44-
project = u'Nova Release Notes'
4544
copyright = u'2015, Nova developers'
4645
# openstackdocstheme options
4746
repository_name = 'openstack/nova'
4847
bug_project = 'nova'
4948
bug_tag = ''
5049

51-
# The version info for the project you're documenting, acts as replacement for
52-
# |version| and |release|, also used in various other places throughout the
53-
# built documents.
54-
#
55-
# Release notes are version independent, no need to set version and release.
56-
version = ""
57-
# The full version, including alpha/beta/rc tags.
58-
release = ""
59-
6050
# The language for content autogenerated by Sphinx. Refer to documentation
6151
# for a list of supported languages.
6252
#language = None
@@ -136,11 +126,6 @@
136126
# directly to the root of the documentation.
137127
#html_extra_path = []
138128

139-
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
140-
# using the given strftime format.
141-
#html_last_updated_fmt = '%b %d, %Y'
142-
html_last_updated_fmt = '%Y-%m-%d %H:%M'
143-
144129
# If true, SmartyPants will be used to convert quotes and dashes to
145130
# typographically correct entities.
146131
#html_use_smartypants = True
@@ -184,17 +169,6 @@
184169

185170
# -- Options for LaTeX output ---------------------------------------------
186171

187-
latex_elements = {
188-
# The paper size ('letterpaper' or 'a4paper').
189-
#'papersize': 'letterpaper',
190-
191-
# The font size ('10pt', '11pt' or '12pt').
192-
#'pointsize': '10pt',
193-
194-
# Additional stuff for the LaTeX preamble.
195-
#'preamble': '',
196-
}
197-
198172
# Grouping the document tree into LaTeX files. List of tuples
199173
# (source start file, target name, title,
200174
# author, documentclass [howto, manual, or own class]).

0 commit comments

Comments
 (0)