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
This commit is contained in:
parent
2083df106b
commit
dcbca54118
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user