From 3825742490c574c8bdde302f3441316623f5be66 Mon Sep 17 00:00:00 2001 From: "zhang.lei" Date: Mon, 15 Jan 2018 02:23:38 +0000 Subject: [PATCH] Remove the deprecated "giturl" option From openstackdocstheme 1.18.0, valid Git URLs can be retrieved by openstackdocstheme[1], we do not need giturl option anymore. [1] https://review.openstack.org/532163 Change-Id: Ifaf526a7f34af780a2dd16f12f799d96018dcbed --- deploy-guide/source/conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/deploy-guide/source/conf.py b/deploy-guide/source/conf.py index 05ae958..066a75f 100644 --- a/deploy-guide/source/conf.py +++ b/deploy-guide/source/conf.py @@ -69,16 +69,13 @@ version = '0.1' release = '0.1' # A few variables have to be set for the log-a-bug feature. -# giturl: The location of conf.py on Git. Must be set manually. # gitsha: The SHA checksum of the bug description. Automatically extracted # from git log. # bug_tag: Tag for categorizing the bug. Must be set manually. # These variables are passed to the logabug code via html_context. -giturl = u'http://git.openstack.org/cgit/openstack/charm-deployment-guide/tree/deploy-guide/source' # noqa git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag, - "giturl": giturl, "bug_project": "charm-deployment-guide"} # The language for content autogenerated by Sphinx. Refer to documentation