diff --git a/doc/source/conf.py b/doc/source/conf.py index a834696c35..85bdadabee 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -103,25 +103,21 @@ 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/manila/tree/doc/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" try: gitsha = os.popen(git_cmd).read().strip('\n') except Exception: warnings.warn('Cannot get gitsha.') gitsha = 'unknown' -# source tree pwd = os.getcwd() html_context = { "pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag, - "giturl": giturl, "bug_project": bug_project, } diff --git a/doc/source/install/conf.py b/doc/source/install/conf.py index 760a5593a3..804159add6 100644 --- a/doc/source/install/conf.py +++ b/doc/source/install/conf.py @@ -68,21 +68,17 @@ 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/manila/tree/install-guide/source' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') -# source tree pwd = os.getcwd() html_context = { "pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag, - "giturl": giturl, "bug_project": "manila", }