Config logABug feature for Ironic api-ref

Currently, Ironic 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/ironic/"

Change-Id: Ifb0e34a41807f87ae4d5402064b63b76e89ec0b4
This commit is contained in:
Ha Van Tu 2016-08-31 12:15:47 +07:00
parent f8f757a46d
commit d3be671c9d

View File

@ -94,6 +94,14 @@ release = version_info.release_string()
# The short X.Y version. # The short X.Y version.
version = version_info.version_string() version = version_info.version_string()
# Config logABug feature
giturl = u'http://git.openstack.org/cgit/openstack/ironic/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": "ironic"}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
# #