From 96b66a227ea6e4c050f549f100b3df7604512200 Mon Sep 17 00:00:00 2001 From: "pawnesh.kumar" Date: Wed, 5 Oct 2016 16:26:39 +0530 Subject: [PATCH] [api-ref] configure LogABug feature To report a bug into the magnum project, not default openstack-manuals. Closes-Bug: #1630524 Depends-on: I51feb6ccdc0fab91a591568866e6801f2bbb319b Change-Id: I2238ee04b438c4153001da0227d1a848aacd14a8 --- 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 cc289fe0ea..1ed0f217b3 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -123,6 +123,15 @@ show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# Config logABug feature +# source tree +giturl = ( + u'http://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source') +# html_context allows us to pass arbitrary values into the html template +html_context = {'bug_tag': 'api-ref', + 'giturl': giturl, + 'bug_project': 'magnum'} + # -- Options for man page output ---------------------------------------------- # Grouping the document tree for man pages.