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
This commit is contained in:
Ha Van Tu 2016-08-31 12:36:02 +07:00
parent 4512aec2d4
commit 07e0330de6
1 changed files with 8 additions and 0 deletions

View File

@ -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.
#