Browse Source

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: Ia6d98f5649e0ad86d9c5939ef3cd43e5c74b1f23
changes/54/672854/4
pengyuesheng 2 years ago
parent
commit
44f15f589e
4 changed files with 5 additions and 18 deletions
  1. +3
    -4
      doc/source/conf.py
  2. +1
    -1
      lower-constraints.txt
  3. +0
    -12
      releasenotes/source/conf.py
  4. +1
    -1
      test-requirements.txt

+ 3
- 4
doc/source/conf.py View File

@ -40,7 +40,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'tripleo-common'
copyright = u'2013, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
@ -62,7 +61,7 @@ pygments_style = 'sphinx'
# html_static_path = ['static']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
htmlhelp_basename = 'tripleo-commondoc'
html_theme = 'openstackdocs'
# Grouping the document tree into LaTeX files. List of tuples
@ -70,8 +69,8 @@ html_theme = 'openstackdocs'
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
'tripleo-common.tex',
u'tripleo-common Documentation',
u'OpenStack Foundation', 'manual'),
]


+ 1
- 1
lower-constraints.txt View File

@ -43,7 +43,7 @@ msgpack-python==0.4.0
munch==2.1.0
netaddr==0.7.18
netifaces==0.10.4
openstackdocstheme==1.18.1
openstackdocstheme==1.20.0
openstacksdk==0.11.2
os-client-config==1.28.0
os-service-types==1.2.0


+ 0
- 12
releasenotes/source/conf.py View File

@ -44,7 +44,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'tripleo-common Release Notes'
copyright = u'2016, TripleO Developers'
# The version info for the project you're documenting, acts as replacement for
@ -184,17 +183,6 @@ htmlhelp_basename = 'tripleo-commonReleaseNotesdoc'
# -- 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]).


+ 1
- 1
test-requirements.txt View File

@ -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.
openstackdocstheme>=1.18.1 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
docutils>=0.11 # OSI-Approved Open Source, Public Domain


Loading…
Cancel
Save