Use https instead of http for git.openstack.org

Trivialfix

Change-Id: I3dda5d7d01e548e640aef77aca1402dd268ce0cf
This commit is contained in:
gengchc2 2017-02-07 11:11:22 +08:00
parent dc7f5aba3f
commit fecaa22aec
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ pygments_style = 'sphinx'
# Config logABug feature
# source tree
giturl = (
u'http://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source')
u'https://git.openstack.org/cgit/openstack/magnum/tree/api-ref/source')
# html_context allows us to pass arbitrary values into the html template
html_context = {'bug_tag': 'api-ref',
'giturl': giturl,

View File

@ -74,7 +74,7 @@ release = magnum_version.version_string_with_vcs()
# 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'http://git.openstack.org/cgit/openstack/magnum/tree/'
giturl = u'https://git.openstack.org/cgit/openstack/magnum/tree/'
giturl += u'install-guide/source'
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')