Skip to content

Commit 40571f4

Browse files
committed
Make HTTPS the default & update canonical
1 parent 936c3c7 commit 40571f4

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ How to contribute
44
This guide is under heavy development. If you would like to contribute, please
55
see:
66

7-
http://docs.python-guide.org/en/latest/notes/contribute/
7+
https://docs.python-guide.org/en/latest/notes/contribute/
88

99
How to test your changes
1010
------------------------
@@ -34,4 +34,4 @@ Style Guide
3434

3535
For all contributions, please follow the `Guide Style Guide`:
3636

37-
http://docs.python-guide.org/en/latest/notes/styleguide/
37+
https://docs.python-guide.org/en/latest/notes/styleguide/

Readme.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Topics include:
3333

3434
If you aren't fond of reading reStructuredText, there is an
3535
almost up-to-date `HTML version at docs.python-guide.org
36-
<http://docs.python-guide.org>`_.
36+
<https://docs.python-guide.org>`_.

docs/404.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ It looks like this was the result of either:
88
- a mistyped address
99
- an out-of-date link
1010

11-
`Click here to go back to the homepage. <http://docs.python-guide.org/>`_
11+
`Click here to go back to the homepage. <https://docs.python-guide.org/>`_
1212

13-
Or, try `searching <http://docs.python-guide.org/en/latest/search/>`_.
13+
Or, try `searching <https://docs.python-guide.org/en/latest/search/>`_.
1414

1515
.. raw:: html
1616

docs/_templates/layout.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
77

88
{% if pagename == 'index' %}
9-
<link rel="canonical" href="http://docs.python-guide.org/"/>
9+
<link rel="canonical" href="https://docs.python-guide.org/"/>
1010
{% elif pagename == '404' %}
1111
{# No canonical on our 404 template. #}
1212
{% else %}
13-
<link rel="canonical" href="http://docs.python-guide.org/{{ pagename }}/"/>
13+
<link rel="canonical" href="https://docs.python-guide.org/{{ pagename }}/"/>
1414
{% endif %}
1515

1616
<link rel="icon" type="image/png" href="https://media.readthedocs.org/images/favicon.png">

docs/_templates/sidebarintro.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h3>Contributors</h3>
5050
This guide is the result of the collaboration of
5151
<a href="https://github.com/kennethreitz/python-guide/graphs/contributors">hundreds of people</a>
5252
around the world, and your contributions
53-
<a href="http://docs.python-guide.org/en/latest/notes/contribute/">are welcome</a>!
53+
<a href="https://docs.python-guide.org/en/latest/notes/contribute/">are welcome</a>!
5454
</p>
5555

5656

@@ -64,7 +64,7 @@ <h3>Useful Links</h3>
6464

6565
<h3>Translations</h3>
6666
<ul>
67-
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
67+
<li><a href="https://docs.python-guide.org/en/latest/">English</a></li>
6868
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
6969
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
7070
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>

docs/_templates/sidebarlogo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h3>Other Projects</h3>
4848

4949
<h3>Translations</h3>
5050
<ul>
51-
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
51+
<li><a href="https://docs.python-guide.org/en/latest/">English</a></li>
5252
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
5353
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
5454
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>

docs/dev/virtualenvs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ using your OS package manager, you may have to `install pip <https://pip.pypa.io
6262
.. _python.org: https://python.org
6363
.. _pip: https://pypi.org/project/pip/
6464
.. _Homebrew: https://brew.sh
65-
.. _Installing Python: http://docs.python-guide.org/en/latest/starting/installation/
65+
.. _Installing Python: https://docs.python-guide.org/en/latest/starting/installation/
6666

6767

6868
Installing Pipenv

0 commit comments

Comments
 (0)