Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
42bf4863
Commit
42bf4863
authored
Oct 29, 2014
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use https:// URLs in the HTML templates.
parent
23dd65bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
Doc/tools/templates/download.html
Doc/tools/templates/download.html
+2
-2
Doc/tools/templates/indexsidebar.html
Doc/tools/templates/indexsidebar.html
+7
-7
Doc/tools/templates/layout.html
Doc/tools/templates/layout.html
+2
-2
Doc/tools/templates/opensearch.xml
Doc/tools/templates/opensearch.xml
+1
-1
No files found.
Doc/tools/templates/download.html
View file @
42bf4863
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{% if daily is defined %}
{% if daily is defined %}
{% set dlbase = pathto('archives', 1) %}
{% set dlbase = pathto('archives', 1) %}
{% else %}
{% else %}
{% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
{% set dlbase = 'http
s
://docs.python.org/ftp/python/doc/' + release %}
{% endif %}
{% endif %}
{% block body %}
{% block body %}
...
@@ -38,7 +38,7 @@ in the table are the size of the download files in megabytes.</p>
...
@@ -38,7 +38,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>
These archives contain all the content in the documentation.
</p>
<p>
HTML Help (
<tt>
.chm
</tt>
) files are made available in the "Windows" section
<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=
"http
s://www.
python.org/download/releases/{{ release[:5] }}/"
>
Python
download page
</a>
.
</p>
download page
</a>
.
</p>
...
...
Doc/tools/templates/indexsidebar.html
View file @
42bf4863
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
<p><a
href=
"{{ pathto('download') }}"
>
Download these documents
</a></p>
<p><a
href=
"{{ pathto('download') }}"
>
Download these documents
</a></p>
<h3>
Docs for other versions
</h3>
<h3>
Docs for other versions
</h3>
<ul>
<ul>
<li><a
href=
"http://docs.python.org/3.4/"
>
Python 3.4 (stable)
</a></li>
<li><a
href=
"http
s
://docs.python.org/3.4/"
>
Python 3.4 (stable)
</a></li>
<li><a
href=
"http://docs.python.org/3.5/"
>
Python 3.5 (in development)
</a></li>
<li><a
href=
"http
s
://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=
"http
s
://www.python.org/doc/versions/"
>
Old versions
</a></li>
</ul>
</ul>
<h3>
Other resources
</h3>
<h3>
Other resources
</h3>
<ul>
<ul>
{# XXX: many of these should probably be merged in the main docs #}
{# 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
s
://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
s
://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
s
://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=
"http
s
://www.python.org/doc/av/"
>
Audio/Visual Talks
</a></li>
</ul>
</ul>
Doc/tools/templates/layout.html
View file @
42bf4863
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{% block rootrellink %}
{% block rootrellink %}
<li><img
src=
"{{ pathto('_static/py.png', 1) }}"
alt=
""
<li><img
src=
"{{ pathto('_static/py.png', 1) }}"
alt=
""
style=
"vertical-align: middle; margin-top: -1px"
/></li>
style=
"vertical-align: middle; margin-top: -1px"
/></li>
<li><a
href=
"http://www.python.org/"
>
Python
</a>
{{ reldelim1 }}
</li>
<li><a
href=
"http
s
://www.python.org/"
>
Python
</a>
{{ reldelim1 }}
</li>
<li>
<li>
{%- if versionswitcher is defined %}
{%- if versionswitcher is defined %}
<span
class=
"version_switcher_placeholder"
>
{{ release }}
</span>
<span
class=
"version_switcher_placeholder"
>
{{ release }}
</span>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
©
<a
href=
"{{ pathto('copyright') }}"
>
Copyright
</a>
{{ copyright|e }}.
©
<a
href=
"{{ pathto('copyright') }}"
>
Copyright
</a>
{{ copyright|e }}.
<br
/>
<br
/>
The Python Software Foundation is a non-profit corporation.
The Python Software Foundation is a non-profit corporation.
<a
href=
"http://www.python.org/psf/donations/"
>
Please donate.
</a>
<a
href=
"http
s
://www.python.org/psf/donations/"
>
Please donate.
</a>
<br
/>
<br
/>
Last updated on {{ last_updated|e }}.
Last updated on {{ last_updated|e }}.
<a
href=
"{{ pathto('bugs') }}"
>
Found a bug
</a>
?
<a
href=
"{{ pathto('bugs') }}"
>
Found a bug
</a>
?
...
...
Doc/tools/templates/opensearch.xml
View file @
42bf4863
{% extends "!opensearch.xml" %}
{% extends "!opensearch.xml" %}
{% block extra -%}
{% 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"
>
http
s
://www.python.org/images/favicon16x16.ico
</Image>
{%- endblock %}
{%- endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment