From eaaf70e935bf15b176f6efff70f05b77617a8d52 Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Thu, 22 Sep 2016 22:17:39 +0100 Subject: [PATCH] Convert readthedocs link for their .org -> .io migration for hosted projects (#374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- CONTRIBUTING.rst | 2 +- README.rst | 12 ++++++------ patchinator.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index de0aef1..dcd4b56 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -10,7 +10,7 @@ Examples of contributions include: * Documentation improvements * Bug reports and patch reviews -For more information, please see our `contribution guide `_. +For more information, please see our `contribution guide `_. Quick Setup ----------- diff --git a/README.rst b/README.rst index c6fa512..8d483b3 100644 --- a/README.rst +++ b/README.rst @@ -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 @@ -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 `_ -and `getting started `_ docs for more. +See our `installation `_ +and `getting started `_ docs for more. Contributing ------------ -To learn more about contributing, please `read our contributing docs `_. +To learn more about contributing, please `read our contributing docs `_. Maintenance and Security @@ -60,7 +60,7 @@ Maintenance team: * Jeremy Spencer If you are interested in joining the maintenance team, please -`read more about contributing `_ +`read more about contributing `_ and get in touch! diff --git a/patchinator.py b/patchinator.py index f672924..fe787a1 100644 --- a/patchinator.py +++ b/patchinator.py @@ -139,7 +139,7 @@ docs_transforms = global_transforms + [ Replacement(r":doc:`getting-started`", r":doc:`/intro/channels`"), Replacement(r"`", r"`"), Replacement(r":doc:`backends`", r":doc:`/ref/channels/backends`"), - Replacement(r":doc:`([\w\d\s]+) `", r"`\1 `_"), + Replacement(r":doc:`([\w\d\s]+) `", r"`\1 `_"), Replacement(r"\n\(.*installation>`\)\n", r""), Replacement(r":doc:`installed Channels correctly `", r"added the channel layer setting"), Replacement(r"Channels", r"channels"),