From 62ab65896245017e73c70ad2e7d5fbda3f6e81fc Mon Sep 17 00:00:00 2001 From: ji-xuepeng Date: Mon, 6 Feb 2017 22:22:09 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org Trivialfix Change-Id: I41d526e84d2c5da3366f242e6a00f93a1c762cfa --- doc/source/conf.py | 4 ++-- releasenotes/source/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 7559f942..ac921ec7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,7 +70,7 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Documentation: ' + role_name + 'role' # The link to the browsable source code (for the left hand menu) -oslosphinx_cgit_link = 'http://git.openstack.org/cgit/openstack/' + target_name +oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -89,7 +89,7 @@ version = version_info.canonical_version_string() # 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 = ("http://git.openstack.org/cgit/openstack/{0}" +giturl = ("https://git.openstack.org/cgit/openstack/{0}" "/tree/doc/source").format(target_name) git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index ea1ad2da..55478892 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -65,7 +65,7 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role' # The link to the browsable source code (for the left hand menu) -oslosphinx_cgit_link = 'http://git.openstack.org/cgit/openstack/' + target_name +oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the