From 19dd6d5d1b80d8f27556be60d8a5673c71061683 Mon Sep 17 00:00:00 2001 From: Nguyen Phuong An Date: Mon, 5 Sep 2016 14:18:14 +0700 Subject: [PATCH] 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 --- api-ref/source/conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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. #