diff options
author | Nguyen Phuong An <AnNP@vn.fujitsu.com> | 2016-08-31 14:37:11 +0700 |
---|---|---|
committer | Nguyen Phuong An <AnNP@vn.fujitsu.com> | 2016-08-31 14:41:30 +0700 |
commit | 3f00148c6b350efc684250f3339fa5166704d5a3 (patch) | |
tree | cbf7b87cd88d105da70018bee3dcd42550deff48 /api-ref | |
parent | dd30b9ef984f3746a8d09bfcff751825921aab75 (diff) | |
download | swift-3f00148c6b350efc684250f3339fa5166704d5a3.tar.gz |
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
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/conf.py | 8 |
1 files changed, 8 insertions, 0 deletions
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. # |