From 4bae6c70f387aa830e6ef8d8e2b01f6a5004980f Mon Sep 17 00:00:00 2001 From: Nguyen Phuong An Date: Wed, 31 Aug 2016 13:20:28 +0700 Subject: [PATCH] Config logABug feature for zaqar api-ref Currently, zaqar api-ref is not configured with logABug feature. When users click "Report bug" button, it leads to "openstack-manuals" which is default. Change-Id: I94c15bb27ca3f920ba4f1a9622222ca891e1e663 --- 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 24e70cb6..0862c631 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -94,6 +94,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/zaqar/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': 'zaqar'} + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #