Skip to content

Commit

Permalink
Convert readthedocs link for their .org -> .io migration for hosted p…
Browse files Browse the repository at this point in the history
…rojects (#374)

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
  • Loading branch information
adamchainz authored and andrewgodwin committed Sep 22, 2016
1 parent 06fd1f8 commit eaaf70e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Expand Up @@ -10,7 +10,7 @@ Examples of contributions include:
* Documentation improvements
* Bug reports and patch reviews

For more information, please see our `contribution guide <http://channels.readthedocs.io/en/latest/contributing.html>`_.
For more information, please see our `contribution guide <https://channels.readthedocs.io/en/latest/contributing.html>`_.

Quick Setup
-----------
Expand Down
12 changes: 6 additions & 6 deletions README.rst
Expand Up @@ -5,7 +5,7 @@ Django Channels
:target: https://travis-ci.org/django/channels

.. image:: https://readthedocs.org/projects/channels/badge/?version=latest
:target: http://channels.readthedocs.org/en/latest/?badge=latest
:target: https://channels.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/pypi/v/channels.svg
:target: https://pypi.python.org/pypi/channels
Expand All @@ -23,21 +23,21 @@ a bit as things develop. Once we hit ``1.0``, it will be stablized and a
deprecation policy will come in.

Documentation, installation and getting started instructions are at
http://channels.readthedocs.org
https://channels.readthedocs.io

Support can be obtained either here via issues, or in the ``#django-channels``
channel on Freenode.

You can install channels from PyPI as the ``channels`` package.
You'll likely also want to ``asgi_redis`` to provide the Redis channel layer.
See our `installation <http://channels.readthedocs.io/en/latest/installation.html>`_
and `getting started <http://channels.readthedocs.io/en/latest/getting-started.html>`_ docs for more.
See our `installation <https://channels.readthedocs.io/en/latest/installation.html>`_
and `getting started <https://channels.readthedocs.io/en/latest/getting-started.html>`_ docs for more.


Contributing
------------

To learn more about contributing, please `read our contributing docs <http://channels.readthedocs.io/en/latest/contributing.html>`_.
To learn more about contributing, please `read our contributing docs <https://channels.readthedocs.io/en/latest/contributing.html>`_.


Maintenance and Security
Expand All @@ -60,7 +60,7 @@ Maintenance team:
* Jeremy Spencer

If you are interested in joining the maintenance team, please
`read more about contributing <http://channels.readthedocs.io/en/latest/contributing.html>`_
`read more about contributing <https://channels.readthedocs.io/en/latest/contributing.html>`_
and get in touch!


Expand Down
2 changes: 1 addition & 1 deletion patchinator.py
Expand Up @@ -139,7 +139,7 @@ def run(self, source_dir, dest_dir):
Replacement(r":doc:`getting-started`", r":doc:`/intro/channels`"),
Replacement(r"<backends>`", r"</ref/channels/backends>`"),
Replacement(r":doc:`backends`", r":doc:`/ref/channels/backends`"),
Replacement(r":doc:`([\w\d\s]+) <asgi>`", r"`\1 <http://channels.readthedocs.org/en/latest/asgi.html>`_"),
Replacement(r":doc:`([\w\d\s]+) <asgi>`", r"`\1 <https://channels.readthedocs.io/en/latest/asgi.html>`_"),
Replacement(r"\n\(.*installation>`\)\n", r""),
Replacement(r":doc:`installed Channels correctly <installation>`", r"added the channel layer setting"),
Replacement(r"Channels", r"channels"),
Expand Down

0 comments on commit eaaf70e

Please sign in to comment.