aboutsummaryrefslogtreecommitdiff
path: root/deploy-guide
diff options
context:
space:
mode:
authorzhang.lei <zhang.lei@99cloud.net>2018-01-15 02:51:33 +0000
committerlei zhang <zhang.lei@99cloud.net>2018-01-15 03:41:21 +0000
commitecb5b44c46e1dbcf1b0ea33aeeeef78053da7325 (patch)
tree6b14b8fe4fd5b393f3b5b49ff719ccd4b1e9634a /deploy-guide
parent95cd3347077955bff1c8167a0f20b801eada0e65 (diff)
downloadkolla-ansible-ecb5b44c46e1dbcf1b0ea33aeeeef78053da7325.tar.gz
kolla-ansible-ecb5b44c46e1dbcf1b0ea33aeeeef78053da7325.zip
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: Idf8da7ec59d166dc45b7ef2d813d4be91fd302fb
Diffstat (limited to 'deploy-guide')
-rw-r--r--deploy-guide/source/conf.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/deploy-guide/source/conf.py b/deploy-guide/source/conf.py
index 010cddad8..c9279d8ce 100644
--- a/deploy-guide/source/conf.py
+++ b/deploy-guide/source/conf.py
@@ -69,17 +69,14 @@ 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'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.