From 07e0330de6a6d61d1575126d1369b5a5a6fdf904 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Wed, 31 Aug 2016 12:36:02 +0700 Subject: [PATCH] Config logABug feature for Trove api-ref Currently, Trove api-ref is not configured with logABug feature. When users click "Report bug" button, it leads to "bugs.launchpad.net/openstack-manuals" which is default. We should change it to "bugs.launchpad.net/trove/". Change-Id: I90b37c3ef6b73daf2e05f253b9778ce548a38a1c --- api-ref/source/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 145ff21e35..16fd3642a9 100755 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -95,6 +95,14 @@ release = version_info.release_string() # The short X.Y version. version = version_info.version_string() +# Config logABug feature +giturl = u'http://git.openstack.org/cgit/openstack/trove/tree/api-ref/source' +# source tree +# html_context allows us to pass arbitrary values into the html template +html_context = {"bug_tag": "api-ref", + "giturl": giturl, + "bug_project": "trove"} + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #