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: Icf071843d75160fe073b6946b9997e0e23dfaf92
This commit is contained in:
zhang.lei 2018-01-15 02:25:15 +00:00
parent 935f21736a
commit 7c8cfc7d04
1 changed files with 0 additions and 3 deletions

View File

@ -84,16 +84,13 @@ version = version_info.version_string()
# 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'https://git.openstack.org/cgit/openstack/meteos/tree/doc/source'
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')
bug_tag = u'docs'
# source tree
pwd = os.getcwd()
html_context = {
"pwd": pwd,