From 46761ec7c2938ed48535276e11bd7fc834a9a0ca Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 29 Oct 2014 08:36:15 +0100 Subject: Use https:// URLs in the HTML templates. --- Doc/tools/templates/download.html | 4 ++-- Doc/tools/templates/indexsidebar.html | 16 ++++++++-------- Doc/tools/templates/layout.html | 4 ++-- Doc/tools/templates/opensearch.xml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 0550111..de84ae3 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 %} @@ -42,7 +42,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 83ba123..abdf070 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,17 +2,17 @@

Download these documents

Docs for other versions

Other resources

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index d3b2801..5abff1b 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 }} @@ -82,7 +82,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 69cec80..7a5cddd 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 %} -- cgit v0.12