Skip to content

Commit ef95578

Browse files
authored
Merge pull request realpython#748 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2 parents 5769917 + af7d603 commit ef95578

File tree

14 files changed

+33
-33
lines changed

14 files changed

+33
-33
lines changed

docs/_templates/sidebarintro.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ <h3>Useful Links</h3>
6060
<h3>Translations</h3>
6161
<ul>
6262
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
63-
<li><a href="http://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
64-
<li><a href="http://pythonguidecn.readthedocs.org/zh/latest/">Chinese</a></li>
65-
<li><a href="http://python-guide-ja.readthedocs.org/en/latest/">Japanese</a></li>
66-
<li><a href="http://python-guide-kr.readthedocs.org/ko/latest/">Korean</a></li>
63+
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
64+
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
65+
<li><a href="https://python-guide-ja.readthedocs.io/en/latest/">Japanese</a></li>
66+
<li><a href="https://python-guide-kr.readthedocs.io/ko/latest/">Korean</a></li>
6767
</ul>

docs/_templates/sidebarlogo.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ <h3>Other Projects</h3>
4242
<h3>Translations</h3>
4343
<ul>
4444
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
45-
<li><a href="http://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
46-
<li><a href="http://pythonguidecn.readthedocs.org/zh/latest/">Chinese</a></li>
47-
<li><a href="http://python-guide-ja.readthedocs.org/en/latest/">Japanese</a></li>
48-
<li><a href="http://python-guide-kr.readthedocs.org/ko/latest/">Korean</a></li>
45+
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
46+
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
47+
<li><a href="https://python-guide-ja.readthedocs.io/en/latest/">Japanese</a></li>
48+
<li><a href="https://python-guide-kr.readthedocs.io/ko/latest/">Korean</a></li>
4949
</ul>

docs/dev/virtualenvs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ control by adding it to the ignore list.
122122
virtualenvwrapper
123123
-----------------
124124

125-
`virtualenvwrapper <http://virtualenvwrapper.readthedocs.org/en/latest/index.html>`_
125+
`virtualenvwrapper <https://virtualenvwrapper.readthedocs.io/en/latest/index.html>`_
126126
provides a set of commands which makes working with virtual environments much
127127
more pleasant. It also places all your virtual environments in one place.
128128

@@ -134,7 +134,7 @@ To install (make sure **virtualenv** is already installed):
134134
$ export WORKON_HOME=~/Envs
135135
$ source /usr/local/bin/virtualenvwrapper.sh
136136
137-
(`Full virtualenvwrapper install instructions <http://virtualenvwrapper.readthedocs.org/en/latest/install.html>`_.)
137+
(`Full virtualenvwrapper install instructions <https://virtualenvwrapper.readthedocs.io/en/latest/install.html>`_.)
138138

139139
For Windows, you can use the `virtualenvwrapper-win <https://github.com/davidmarble/virtualenvwrapper-win/>`_.
140140

@@ -206,7 +206,7 @@ Other useful commands
206206
``lssitepackages``
207207
Shows contents of :file:`site-packages` directory.
208208

209-
`Full list of virtualenvwrapper commands <http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html>`_.
209+
`Full list of virtualenvwrapper commands <https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html>`_.
210210

211211
virtualenv-burrito
212212
------------------

docs/intro/learning.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ without having to install Python locally.
3838
If you want a more traditional book, *Python For You and Me* is an excellent
3939
resource for learning all aspects of the language.
4040

41-
`Python for You and Me <http://pymbook.readthedocs.org/>`_
41+
`Python for You and Me <https://pymbook.readthedocs.io/>`_
4242

4343
Online Python Tutor
4444
~~~~~~~~~~~~~~~~~~~

docs/scenarios/ci.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ automate the compile/test cycle to validate code changes.
3535
Tox
3636
---
3737

38-
`tox <http://tox.readthedocs.org/en/latest/>`_ is an automation tool providing
38+
`tox <https://tox.readthedocs.io/en/latest/>`_ is an automation tool providing
3939
packaging, testing and deployment of Python software right from the console or
4040
CI server. It is a generic virtualenv management and test command line tool
4141
which provides the following features:

docs/scenarios/clibs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Interfacing with C/C++ Libraries
44
C Foreign Function Interface
55
----------------------------
66

7-
`CFFI <https://cffi.readthedocs.org/en/latest/>`_ provides a simple to use
7+
`CFFI <https://cffi.readthedocs.io/en/latest/>`_ provides a simple to use
88
mechanism for interfacing with C from both CPython and PyPy. It supports two
99
modes: an inline ABI compatibility mode (example provided below), which allows
1010
you to dynamically load and run functions from executable modules (essentially

docs/scenarios/db.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ peewee
6060
`peewee <http://docs.peewee-orm.com/en/latest/>`_ is another ORM with a focus
6161
on being lightweight with support for Python 2.6+ and 3.2+ which supports
6262
SQLite, MySQL and Postgres by default. The
63-
`model layer <https://peewee.readthedocs.org/en/latest/peewee/quickstart.html#model-definition>`_
63+
`model layer <https://peewee.readthedocs.io/en/latest/peewee/quickstart.html#model-definition>`_
6464
is similar to that of the Django ORM and it has
65-
`SQL-like methods <https://peewee.readthedocs.org/en/latest/peewee/quickstart.html#retrieving-data>`_
65+
`SQL-like methods <https://peewee.readthedocs.io/en/latest/peewee/quickstart.html#retrieving-data>`_
6666
to query data. While SQLite, MySQL and Postgres are supported out-of-the-box,
67-
there is a `collection of add-ons <https://peewee.readthedocs.org/en/latest/peewee/playhouse.html#playhouse>`_
67+
there is a `collection of add-ons <https://peewee.readthedocs.io/en/latest/peewee/playhouse.html#playhouse>`_
6868
available.
6969

7070
PonyORM

docs/scenarios/gui.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ applications be ported from PyGTK to PyGObject.
2828
PyGObject aka (PyGi)
2929
--------------------
3030
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ provides Python bindings, which gives access to the entire GNOME software platform.
31-
It is fully compatible with GTK+ 3. Here is a tutorial to get started with `Python GTK+ 3 Tutorial <http://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_.
31+
It is fully compatible with GTK+ 3. Here is a tutorial to get started with `Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io/en/latest/>`_.
3232

3333
`API Reference <http://lazka.github.io/pgi-docs/>`_
3434

docs/scenarios/imaging.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Installation
2424

2525
Before installing Pillow, you'll have to install Pillow's prerequisites. Find
2626
the instructions for your platform in the
27-
`Pillow installation instructions <https://pillow.readthedocs.org/en/3.0.0/installation.html>`_.
27+
`Pillow installation instructions <https://pillow.readthedocs.io/en/3.0.0/installation.html>`_.
2828

2929
After that, it's straightforward:
3030

@@ -57,7 +57,7 @@ Example
5757
exif_data
5858
5959
There are more examples of the Pillow library in the
60-
`Pillow tutorial <http://pillow.readthedocs.org/en/3.0.x/handbook/tutorial.html>`_.
60+
`Pillow tutorial <https://pillow.readthedocs.io/en/3.0.x/handbook/tutorial.html>`_.
6161

6262

6363
OpenSource Computer Vision
@@ -104,4 +104,4 @@ Example
104104
105105
There are more Python-implemented examples of OpenCV in this `collection of
106106
tutorials
107-
<http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_tutorials.html>`_.
107+
<https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_tutorials.html>`_.

docs/scenarios/json.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ simplejson
4747

4848
The JSON library was added to Python in version 2.6.
4949
If you're using an earlier version of Python, the
50-
`simplejson <https://simplejson.readthedocs.org/en/latest/>`_ library is
50+
`simplejson <https://simplejson.readthedocs.io/en/latest/>`_ library is
5151
available via PyPI.
5252

5353
simplejson mimics the json standard library. It is available so that developers

0 commit comments

Comments
 (0)