From c32055cc362b15a5d52bbdea0eb8c954b03c2156 Mon Sep 17 00:00:00 2001 From: Peter Tran Date: Fri, 22 May 2015 11:20:45 -0700 Subject: [PATCH] Add launchpad tag used by "Report a bug" to automatically tag new bugs "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: Ib2c921f305338df0168f1c85aa6d698d4a963e29 Depends-On: I3c9214a4f5a00648d325b4acaa493057ab0e4821 --- doc/networking-guide/source/conf.py | 3 ++- doc/user-guide-admin/source/conf.py | 3 ++- doc/user-guide/source/conf.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/networking-guide/source/conf.py b/doc/networking-guide/source/conf.py index 2780355992..47ad575f78 100644 --- a/doc/networking-guide/source/conf.py +++ b/doc/networking-guide/source/conf.py @@ -54,6 +54,7 @@ master_doc = 'index' # General information about the project. project = u'Networking Guide' +bug_tag = u'networking-guide' copyright = u'2015, OpenStack contributors' # The version info for the project you're documenting, acts as replacement for @@ -72,7 +73,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. diff --git a/doc/user-guide-admin/source/conf.py b/doc/user-guide-admin/source/conf.py index 6ba350ccae..9775bbd737 100644 --- a/doc/user-guide-admin/source/conf.py +++ b/doc/user-guide-admin/source/conf.py @@ -56,6 +56,7 @@ master_doc = 'index' # General information about the project. project = u'Admin User Guide' +bug_tag = u'admin-user-guide' copyright = u'2015, OpenStack contributors' @@ -75,7 +76,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. diff --git a/doc/user-guide/source/conf.py b/doc/user-guide/source/conf.py index 6552116a19..c2caa17cba 100644 --- a/doc/user-guide/source/conf.py +++ b/doc/user-guide/source/conf.py @@ -56,6 +56,7 @@ master_doc = 'index' # General information about the project. project = u'End User Guide' +bug_tag = u'user-guide' copyright = u'2015, OpenStack contributors' @@ -75,7 +76,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.