From a54834df23e26f2255578dffb16fdac023fd495e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 10 Dec 2015 09:34:04 +0100 Subject: [PATCH] Report compute-api bugs against nova For compute-api set the launchpad project users report bugs against to "nova". Users can report bugs using the "bug icon" that will directly link to the launchpad project, it currently goes to "openstack-manuals" which is wrong for this content. This variable is used by openstackdocstheme 1.2.6. Closes-Bug: #1524476 Change-Id: I08ba11bb1c5388bc4611cea581274ac5d724c8d9 --- api-guide/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-guide/source/conf.py b/api-guide/source/conf.py index d472577779..0b805bbf8d 100644 --- a/api-guide/source/conf.py +++ b/api-guide/source/conf.py @@ -78,6 +78,7 @@ release = '2.1.0' # giturl: The location of conf.py on Git. Must be set manually. # gitsha: The SHA checksum of the bug description. Extracted from git log. # bug_tag: Tag for categorizing the bug. Must be set manually. +# bug_project: Launchpad project to file bugs against. # These variables are passed to the logabug code via html_context. giturl = u'http://git.openstack.org/cgit/openstack/nova/tree/api-guide/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" @@ -88,7 +89,8 @@ pwd = os.popen("pwd").read().strip('\n') html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag, - "giturl": giturl} + "giturl": giturl, + "bug_project": "nova"} # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.