From 1d41de56888c2581d78f885fd54746b09d0b8366 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 28 May 2015 19:47:52 +0200 Subject: [PATCH] Add launchpad tag used by "Report a bug" "Report a bug" automatically populates bugs on launchpad with information about the manual. This additional config setting will allow "Report a bug" to automatically tag the bug with the respective manual. Change-Id: Ia46756f9e9e9f0ee117a821403ef1dbef0434b6e --- firstapp/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firstapp/source/conf.py b/firstapp/source/conf.py index 8af84e291..59bcde03b 100644 --- a/firstapp/source/conf.py +++ b/firstapp/source/conf.py @@ -60,6 +60,7 @@ master_doc = 'index' # General information about the project. project = u'FirstApp' +bug_tag = u'firstapp' copyright = u'2015, OpenStack contributors' # The version info for the project you're documenting, acts as replacement for @@ -78,7 +79,7 @@ gitsha = os.popen(git_cmd).read().strip('\n') # source tree pwd = os.popen("pwd").read().strip('\n') # html_context allows us to pass arbitrary values into the html template -html_context = {"pwd": pwd, "gitsha": gitsha} +html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag} # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.