From 0a2fb8be548085473940bf206553f700259d9575 Mon Sep 17 00:00:00 2001 From: lijunbo Date: Mon, 4 Dec 2017 11:27:46 +0800 Subject: [PATCH] Fix releasenotes job is failure Closes-bug: #1736051 Change-Id: I7026f9811f9c4f1e0254d17f7aaef579932f0669 --- releasenotes/source/conf.py | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 6bd683f8..17767004 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -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'), ]