From 3f00148c6b350efc684250f3339fa5166704d5a3 Mon Sep 17 00:00:00 2001 From: Nguyen Phuong An Date: Wed, 31 Aug 2016 14:37:11 +0700 Subject: Config logABug feature for Swift api-ref Currently, Swift api-ref is not configured with logABug feature. When users click "Report bug" button, it leads to "openstack-manuals" which is default. Change-Id: I3b6fb410000637ff03d99110d440de88a5adc30c --- api-ref/source/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'api-ref') diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 3ec1303ce..bb0ee2f20 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -94,6 +94,14 @@ version = __version__.rsplit('.', 1)[0] # The full version, including alpha/beta/rc tags. release = __version__ +# Config logABug feature +giturl = u'http://git.openstack.org/cgit/openstack/swift/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': 'swift'} + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # -- cgit v1.2.1