From c49e171fd68ee935018d59512ac0c8e77baaa25a Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Sat, 11 Jun 2016 11:16:15 +0100 Subject: [PATCH] Convert readthedocs links for their .org -> .io migration for hosted projects 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. --- doc/rtd-requirements.txt | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rtd-requirements.txt b/doc/rtd-requirements.txt index 28729588..cc3ff003 100644 --- a/doc/rtd-requirements.txt +++ b/doc/rtd-requirements.txt @@ -1,3 +1,3 @@ # requirements file for Read The Docs -# http://readthedocs.org/docs/nose/ +# https://nose.readthedocs.io/en/latest/ sphinx>=1.0 diff --git a/setup.py b/setup.py index a2091c0c..15fb6d3b 100644 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ def wrap_write_script(self, script_name, contents, *arg, **kwarg): coverage and profiling, flexible attribute-based test selection, output capture and more. More information about writing plugins may be found on in the nose API documentation, here: - http://readthedocs.org/docs/nose/ + https://nose.readthedocs.io/ If you have recently reported a bug marked as fixed, or have a craving for the very latest, you may want the development version instead: @@ -105,7 +105,7 @@ def wrap_write_script(self, script_name, contents, *arg, **kwarg): """, license = 'GNU LGPL', keywords = 'test unittest doctest automatic discovery', - url = 'http://readthedocs.org/docs/nose/', + url = 'https://nose.readthedocs.io/', data_files = [('man/man1', ['nosetests.1'])], package_data = {'': ['*.txt', 'examples/*.py',