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:
parent
3629ccfce6
commit
3825742490
@ -69,16 +69,13 @@ version = '0.1'
|
|||||||
release = '0.1'
|
release = '0.1'
|
||||||
|
|
||||||
# A few variables have to be set for the log-a-bug feature.
|
# 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
|
# gitsha: The SHA checksum of the bug description. Automatically extracted
|
||||||
# from git log.
|
# from git log.
|
||||||
# bug_tag: Tag for categorizing the bug. Must be set manually.
|
# bug_tag: Tag for categorizing the bug. Must be set manually.
|
||||||
# These variables are passed to the logabug code via html_context.
|
# 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' '"
|
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
||||||
gitsha = os.popen(git_cmd).read().strip('\n')
|
gitsha = os.popen(git_cmd).read().strip('\n')
|
||||||
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
|
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
|
||||||
"giturl": giturl,
|
|
||||||
"bug_project": "charm-deployment-guide"}
|
"bug_project": "charm-deployment-guide"}
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user