From dcbca54118fd3dd87518b506e42609cb0b79f79f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 8 Oct 2015 13:46:56 +0200 Subject: [PATCH] Cleanup api-quick-start conf.py Remove pwd variable from conf.py, with openstackdocstheme 1.2.3 the variable is not needed anymore. Change-Id: Ia1326329f53fdded4c8ca10fd8ee87b6bc1bd478 --- api-quick-start/source/conf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/api-quick-start/source/conf.py b/api-quick-start/source/conf.py index 9c5c13a0a..05951e035 100644 --- a/api-quick-start/source/conf.py +++ b/api-quick-start/source/conf.py @@ -70,15 +70,11 @@ release = '0.1' # giturl: The location of conf.py on Git. Must be set manually. # gitsha: The SHA checksum of the bug description. Extracted from git log. # bug_tag: Tag for categorizing the bug. Must be set manually. -# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2 # These variables are passed to the logabug code via html_context. giturl = u'http://git.openstack.org/cgit/openstack/api-site/tree/api-quick-start/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') -# source tree -pwd = os.popen("pwd").read().strip('\n') -# html_context allows us to pass arbitrary values into the html template -html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag, +html_context = {"gitsha": gitsha, "bug_tag": bug_tag, "giturl": giturl} # The language for content autogenerated by Sphinx. Refer to documentation