From: Georg Brandl Date: Wed, 29 Oct 2014 07:36:15 +0000 (+0100) Subject: Use https:// URLs in the HTML templates. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42bf48630293d31a54436b5aa36727f5f06837c1;p=python Use https:// URLs in the HTML templates. --- diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 3adf2e92d3..66e09ccb99 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -3,7 +3,7 @@ {% if daily is defined %} {% set dlbase = pathto('archives', 1) %} {% else %} - {% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %} + {% set dlbase = 'https://docs.python.org/ftp/python/doc/' + release %} {% endif %} {% block body %} @@ -38,7 +38,7 @@ in the table are the size of the download files in megabytes.

These archives contain all the content in the documentation.

HTML Help (.chm) files are made available in the "Windows" section -on the Python +on the Python download page.

diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html index 5c4c75d6ad..4e10d69b26 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,16 +2,16 @@

Download these documents

Docs for other versions

Other resources

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index f24dc8c755..ec29ca2885 100644 --- a/Doc/tools/templates/layout.html +++ b/Doc/tools/templates/layout.html @@ -2,7 +2,7 @@ {% block rootrellink %}
  • -
  • Python{{ reldelim1 }}
  • +
  • Python{{ reldelim1 }}
  • {%- if versionswitcher is defined %} {{ release }} @@ -31,7 +31,7 @@ © Copyright {{ copyright|e }}.
    The Python Software Foundation is a non-profit corporation. - Please donate. + Please donate.
    Last updated on {{ last_updated|e }}. Found a bug? diff --git a/Doc/tools/templates/opensearch.xml b/Doc/tools/templates/opensearch.xml index 69cec804cd..7a5cdddd27 100644 --- a/Doc/tools/templates/opensearch.xml +++ b/Doc/tools/templates/opensearch.xml @@ -1,4 +1,4 @@ {% extends "!opensearch.xml" %} {% block extra -%} -http://www.python.org/images/favicon16x16.ico +https://www.python.org/images/favicon16x16.ico {%- endblock %}