Config logABug feature for Cinder api-ref

Currently, Cinder api-ref is 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/cinder/".

Change-Id: Iabd97f92a9cdc64513fc572630ef223762794f95
This commit is contained in:
Ha Van Tu 2016-08-31 12:00:44 +07:00
parent aeabde14f3
commit b017983f5b
1 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,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/cinder/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": "cinder"}
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#