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
This commit is contained in:
zhang.lei 2018-01-15 02:23:38 +00:00 committed by lei zhang
parent 3629ccfce6
commit 3825742490
1 changed files with 0 additions and 3 deletions

View File

@ -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