From d3be671c9d76dbe0a8e42d45c2ffd8b276425d63 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Wed, 31 Aug 2016 12:15:47 +0700 Subject: [PATCH] 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 --- api-ref/source/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index ee9117a53c..fe1164aaba 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -94,6 +94,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/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 # for a list of supported languages. #