From 42bf48630293d31a54436b5aa36727f5f06837c1 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 29 Oct 2014 08:36:15 +0100 Subject: [PATCH] Use https:// URLs in the HTML templates. --- Doc/tools/templates/download.html | 4 ++-- Doc/tools/templates/indexsidebar.html | 14 +++++++------- Doc/tools/templates/layout.html | 4 ++-- Doc/tools/templates/opensearch.xml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) 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 %} -- 2.50.1