]> granicus.if.org Git - python/commitdiff
Use https:// URLs in the HTML templates.
authorGeorg Brandl <georg@python.org>
Wed, 29 Oct 2014 07:36:15 +0000 (08:36 +0100)
committerGeorg Brandl <georg@python.org>
Wed, 29 Oct 2014 07:36:15 +0000 (08:36 +0100)
Doc/tools/templates/download.html
Doc/tools/templates/indexsidebar.html
Doc/tools/templates/layout.html
Doc/tools/templates/opensearch.xml

index 0550111085b307ff3ac96e32d0d654410aa83026..de84ae3abc81c799a0c9dc4f1a114a7c5597d835 100644 (file)
@@ -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.</p>
 <p>These archives contain all the content in the documentation.</p>
 
 <p>HTML Help (<tt>.chm</tt>) files are made available in the "Windows" section
-on the <a href="http://python.org/download/releases/{{ release[:5] }}/">Python
+on the <a href="https://www.python.org/download/releases/{{ release[:5] }}/">Python
 download page</a>.</p>
 
 
index 83ba1231c4c0f6b9c46615679a774de5cfab3ddc..abdf070772c8f8b3bb4006e02cbfa5d72c0a48be 100644 (file)
@@ -2,17 +2,17 @@
 <p><a href="{{ pathto('download') }}">Download these documents</a></p>
 <h3>Docs for other versions</h3>
 <ul>
-  <li><a href="http://docs.python.org/2.7/">Python 2.7 (stable)</a></li>
-  <li><a href="http://docs.python.org/3.3/">Python 3.3 (stable)</a></li>
-  <li><a href="http://docs.python.org/3.5/">Python 3.5 (in development)</a></li>
-  <li><a href="http://www.python.org/doc/versions/">Old versions</a></li>
+  <li><a href="https://docs.python.org/2.7/">Python 2.7 (stable)</a></li>
+  <li><a href="https://docs.python.org/3.3/">Python 3.3 (stable)</a></li>
+  <li><a href="https://docs.python.org/3.5/">Python 3.5 (in development)</a></li>
+  <li><a href="https://www.python.org/doc/versions/">Old versions</a></li>
 </ul>
 
 <h3>Other resources</h3>
 <ul>
   {# XXX: many of these should probably be merged in the main docs #}
-  <li><a href="http://www.python.org/dev/peps/">PEP Index</a></li>
-  <li><a href="http://wiki.python.org/moin/BeginnersGuide">Beginner's Guide</a></li>
-  <li><a href="http://wiki.python.org/moin/PythonBooks">Book List</a></li>
-  <li><a href="http://www.python.org/doc/av/">Audio/Visual Talks</a></li>
+  <li><a href="https://www.python.org/dev/peps/">PEP Index</a></li>
+  <li><a href="https://wiki.python.org/moin/BeginnersGuide">Beginner's Guide</a></li>
+  <li><a href="https://wiki.python.org/moin/PythonBooks">Book List</a></li>
+  <li><a href="https://www.python.org/doc/av/">Audio/Visual Talks</a></li>
 </ul>
index d3b2801a06d5fc9bc4c2a28e77167135de46be81..5abff1b3989f06260793ecc804c680aa89f270f0 100644 (file)
@@ -2,7 +2,7 @@
 {% block rootrellink %}
         <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
                  style="vertical-align: middle; margin-top: -1px"/></li>
-        <li><a href="http://www.python.org/">Python</a>{{ reldelim1 }}</li>
+        <li><a href="https://www.python.org/">Python</a>{{ reldelim1 }}</li>
         <li>
           {%- if versionswitcher is defined %}
           <span class="version_switcher_placeholder">{{ release }}</span>
@@ -82,7 +82,7 @@
     &copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}.
     <br />
     The Python Software Foundation is a non-profit corporation.
-    <a href="http://www.python.org/psf/donations/">Please donate.</a>
+    <a href="https://www.python.org/psf/donations/">Please donate.</a>
     <br />
     Last updated on {{ last_updated|e }}.
     <a href="{{ pathto('bugs') }}">Found a bug</a>?
index 69cec804cd0e90b0fff6369534b806d4f6a2536f..7a5cdddd2771235a670769aea6cda87f8b063cee 100644 (file)
@@ -1,4 +1,4 @@
 {% extends "!opensearch.xml" %}
 {% block extra -%}
-<Image height="16" width="16" type="image/x-icon">http://www.python.org/images/favicon16x16.ico</Image>
+<Image height="16" width="16" type="image/x-icon">https://www.python.org/images/favicon16x16.ico</Image>
 {%- endblock %}