summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorHa Van Tu <tuhv@vn.fujitsu.com>2016-08-31 12:36:02 +0700
committerHa Van Tu <tuhv@vn.fujitsu.com>2016-08-31 12:39:05 +0700
commit07e0330de6a6d61d1575126d1369b5a5a6fdf904 (patch)
tree65b776173c31c1d6e774ab1614788d82ddd6fce6 /api-ref
parent4512aec2d434eaf4c743bc089e0319cb243ac349 (diff)
downloadtrove-07e0330de6a6d61d1575126d1369b5a5a6fdf904.tar.gz
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
Diffstat (limited to 'api-ref')
-rwxr-xr-xapi-ref/source/conf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py
index 145ff21e..16fd3642 100755
--- a/api-ref/source/conf.py
+++ b/api-ref/source/conf.py
@@ -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.
#