Skip to content

Commit

Permalink
Remove the deprecated "giturl" option
Browse files Browse the repository at this point in the history
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: Idf8da7ec59d166dc45b7ef2d813d4be91fd302fb
  • Loading branch information
Zlei1115 committed Jan 15, 2018
1 parent 95cd334 commit ecb5b44
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deploy-guide/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,14 @@
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'https://git.openstack.org/cgit/openstack/kolla-ansible/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": "Kolla"}
"bug_project": "kolla-ansible"}

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit ecb5b44

Please sign in to comment.