Merge "Bump the openstackdocstheme extension to 1.20"

This commit is contained in:
Zuul 2020-01-11 19:39:42 +00:00 committed by Gerrit Code Review
commit 0c72b024fd
4 changed files with 4 additions and 46 deletions

View File

@ -22,9 +22,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
from cyborg.version import version_info
extensions = [
'openstackdocstheme',
'os_api_ref',
@ -42,7 +39,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Acceleration API Reference'
copyright = u'2016-present, OpenStack Foundation'
# openstackdocstheme options
@ -50,15 +46,6 @@ repository_name = 'openstack/cyborg'
bug_project = 'cyborg'
bug_tag = 'api-ref'
# 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.
#
# The full version, including alpha/beta/rc tags.
release = version_info.release_string()
# The short X.Y version.
version = version_info.version_string()
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
@ -75,10 +62,6 @@ html_theme_options = {
"sidebar_mode": "toc",
}
# 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'
# -- Options for LaTeX output -------------------------------------------------
# Grouping the document tree into LaTeX files. List of tuples

View File

@ -9,4 +9,4 @@ sphinxcontrib-pecanwsme>=0.2 # Apache-2.0
sphinxcontrib-seqdiag>=0.8.4 # BSD
reno>=2.5.0 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0
openstackdocstheme>=1.19.0 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0

View File

@ -41,14 +41,12 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'cyborg'
copyright = u'2013, OpenStack Foundation'
# openstackdocstheme options
repository_name = 'openstack/cyborg'
bug_project = 'cyborg'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
config_generator_config_file = '../../tools/config/cyborg-config-generator.conf'
sample_config_basename = '_static/cyborg'
@ -80,7 +78,7 @@ pygments_style = 'sphinx'
#html_static_path = ['_static']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
htmlhelp_basename = 'cyborgdoc'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
@ -92,8 +90,8 @@ html_theme = 'openstackdocs'
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
'cyborg.tex',
u'cyborg Documentation',
u'OpenStack Foundation', 'manual'),
]

View File

@ -29,7 +29,6 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Cyborg Release Notes'
copyright = u'2018, Cyborg developers'
author = u'cyborg developers'
@ -79,10 +78,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'
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
@ -99,24 +94,6 @@ htmlhelp_basename = 'CyborgReleaseNotesdoc'
# -- 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': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).