Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46761ec

Browse files
committed
Use https:// URLs in the HTML templates.
1 parent 69a7203 commit 46761ec

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

Doc/tools/templates/download.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% if daily is defined %}
44
{% set dlbase = pathto('archives', 1) %}
55
{% else %}
6-
{% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
6+
{% set dlbase = 'https://docs.python.org/ftp/python/doc/' + release %}
77
{% endif %}
88

99
{% block body %}
@@ -42,7 +42,7 @@ <h1>Download Python {{ release }} Documentation</h1>
4242
<p>These archives contain all the content in the documentation.</p>
4343

4444
<p>HTML Help (<tt>.chm</tt>) files are made available in the "Windows" section
45-
on the <a href="http://python.org/download/releases/{{ release[:5] }}/">Python
45+
on the <a href="https://www.python.org/download/releases/{{ release[:5] }}/">Python
4646
download page</a>.</p>
4747

4848

Doc/tools/templates/indexsidebar.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ <h3>Download</h3>
22
<p><a href="{{ pathto('download') }}">Download these documents</a></p>
33
<h3>Docs for other versions</h3>
44
<ul>
5-
<li><a href="http://docs.python.org/2.7/">Python 2.7 (stable)</a></li>
6-
<li><a href="http://docs.python.org/3.3/">Python 3.3 (stable)</a></li>
7-
<li><a href="http://docs.python.org/3.5/">Python 3.5 (in development)</a></li>
8-
<li><a href="http://www.python.org/doc/versions/">Old versions</a></li>
5+
<li><a href="https://docs.python.org/2.7/">Python 2.7 (stable)</a></li>
6+
<li><a href="https://docs.python.org/3.3/">Python 3.3 (stable)</a></li>
7+
<li><a href="https://docs.python.org/3.5/">Python 3.5 (in development)</a></li>
8+
<li><a href="https://www.python.org/doc/versions/">Old versions</a></li>
99
</ul>
1010

1111
<h3>Other resources</h3>
1212
<ul>
1313
{# XXX: many of these should probably be merged in the main docs #}
14-
<li><a href="http://www.python.org/dev/peps/">PEP Index</a></li>
15-
<li><a href="http://wiki.python.org/moin/BeginnersGuide">Beginner's Guide</a></li>
16-
<li><a href="http://wiki.python.org/moin/PythonBooks">Book List</a></li>
17-
<li><a href="http://www.python.org/doc/av/">Audio/Visual Talks</a></li>
14+
<li><a href="https://www.python.org/dev/peps/">PEP Index</a></li>
15+
<li><a href="https://wiki.python.org/moin/BeginnersGuide">Beginner's Guide</a></li>
16+
<li><a href="https://wiki.python.org/moin/PythonBooks">Book List</a></li>
17+
<li><a href="https://www.python.org/doc/av/">Audio/Visual Talks</a></li>
1818
</ul>

Doc/tools/templates/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% block rootrellink %}
33
<li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
44
style="vertical-align: middle; margin-top: -1px"/></li>
5-
<li><a href="http://www.python.org/">Python</a>{{ reldelim1 }}</li>
5+
<li><a href="https://www.python.org/">Python</a>{{ reldelim1 }}</li>
66
<li>
77
{%- if versionswitcher is defined %}
88
<span class="version_switcher_placeholder">{{ release }}</span>
@@ -82,7 +82,7 @@
8282
&copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}.
8383
<br />
8484
The Python Software Foundation is a non-profit corporation.
85-
<a href="http://www.python.org/psf/donations/">Please donate.</a>
85+
<a href="https://www.python.org/psf/donations/">Please donate.</a>
8686
<br />
8787
Last updated on {{ last_updated|e }}.
8888
<a href="{{ pathto('bugs') }}">Found a bug</a>?

Doc/tools/templates/opensearch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% extends "!opensearch.xml" %}
22
{% block extra -%}
3-
<Image height="16" width="16" type="image/x-icon">http://www.python.org/images/favicon16x16.ico</Image>
3+
<Image height="16" width="16" type="image/x-icon">https://www.python.org/images/favicon16x16.ico</Image>
44
{%- endblock %}

0 commit comments

Comments
 (0)