summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Phuong An <AnNP@vn.fujitsu.com>2016-09-05 14:18:14 +0700
committerNguyen Phuong An <AnNP@vn.fujitsu.com>2016-09-05 14:22:00 +0700
commit19dd6d5d1b80d8f27556be60d8a5673c71061683 (patch)
treeff3c0e68cfd6c9dff0aba72ac504e2db782d336f
parentc8fa7ef289ed2cb722d803f377199982ddcceb7b (diff)
downloaddesignate-19dd6d5d1b80d8f27556be60d8a5673c71061683.tar.gz
Config logABug feature for Designate api-ref
Currently, Designate api-ref is not configured with logABug feature. When users click "Report bug" button, it leads to "openstack-manuals" which is default. Change-Id: I698c7d7b811011e601765521bb9a6419308ca9d7
-rw-r--r--api-ref/source/conf.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py
index 306a1c3f..c2cc5757 100644
--- a/api-ref/source/conf.py
+++ b/api-ref/source/conf.py
@@ -94,6 +94,15 @@ 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/designate/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': 'designate'}
+
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#