Fix releasenotes job is failure

Closes-bug: #1736051
Change-Id: I7026f9811f9c4f1e0254d17f7aaef579932f0669
This commit is contained in:
lijunbo 2017-12-04 11:27:46 +08:00 committed by junboli
parent 6c013ddb7b
commit 0a2fb8be54
1 changed files with 16 additions and 9 deletions

View File

@ -38,10 +38,16 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'oslosphinx',
'reno.sphinxext',
'openstackdocstheme',
]
# openstackdocstheme options
repository_name = 'openstack/qinling'
bug_project = 'qinling'
bug_tag = 'release notes'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -111,7 +117,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@ -189,7 +195,7 @@ html_static_path = ['_static']
# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'GlanceReleaseNotesdoc'
htmlhelp_basename = 'QinlingReleaseNotesdoc'
# -- Options for LaTeX output ---------------------------------------------
@ -209,8 +215,9 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'GlanceReleaseNotes.tex', u'Glance Release Notes Documentation',
u'Glance Developers', 'manual'),
('index', 'QinlingReleaseNotes.tex',
u'Qinling Release Notes Documentation',
u'Qinling Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -239,8 +246,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'glancereleasenotes', u'Glance Release Notes Documentation',
[u'Glance Developers'], 1)
('index', 'qinlingreleasenotes', u'Qinling Release Notes Documentation',
[u'Qinling Developers'], 1)
]
# If true, show URL addresses after external links.
@ -253,8 +260,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'GlanceReleaseNotes', u'Glance Release Notes Documentation',
u'Glance Developers', 'GlanceReleaseNotes',
('index', 'QinlingReleaseNotes', u'Qinling Release Notes Documentation',
u'Qinling Developers', 'QinlingReleaseNotes',
'One line description of project.',
'Miscellaneous'),
]