From a4cc84d758cf94b5e6bd26d232fe1d6251838cbd Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Mon, 27 Jun 2016 22:42:16 +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. --- README.rst | 2 +- demo/setup.py | 2 +- docs/optimizations/nginx.txt | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index c5c7909..236d355 100644 --- a/README.rst +++ b/README.rst @@ -39,7 +39,7 @@ Let's serve a file stored in a file field of some model: Resources ********* -* Documentation: http://django-downloadview.readthedocs.org +* Documentation: https://django-downloadview.readthedocs.io * PyPI page: http://pypi.python.org/pypi/django-downloadview * Code repository: https://github.com/benoitbryon/django-downloadview * Bugtracker: https://github.com/benoitbryon/django-downloadview/issues diff --git a/demo/setup.py b/demo/setup.py index ea1ce02..12f7051 100644 --- a/demo/setup.py +++ b/demo/setup.py @@ -15,7 +15,7 @@ README = open(os.path.join(here, 'README.rst')).read() VERSION = open(os.path.join(project_root, 'VERSION')).read().strip() AUTHOR = u'Benoît Bryon' EMAIL = u'benoit@marmelune.net' -URL = 'https://django-downloadview.readthedocs.org/' +URL = 'https://django-downloadview.readthedocs.io/' CLASSIFIERS = ['Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', diff --git a/docs/optimizations/nginx.txt b/docs/optimizations/nginx.txt index 6fcd359..5b861e1 100644 --- a/docs/optimizations/nginx.txt +++ b/docs/optimizations/nginx.txt @@ -136,7 +136,7 @@ Here is what you could have in :file:`/etc/nginx/sites-available/default`: # like /optimized-download/myfile.tar.gz # # See http://wiki.nginx.org/X-accel - # and https://django-downloadview.readthedocs.org + # and https://django-downloadview.readthedocs.io # location /proxied-download { internal; diff --git a/setup.py b/setup.py index f290828..6cf665e 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ VERSION = open(os.path.join(here, 'VERSION')).read().strip() AUTHOR = u'Benoît Bryon' EMAIL = 'benoit@marmelune.net' LICENSE = 'BSD' -URL = 'https://{name}.readthedocs.org/'.format(name=NAME) +URL = 'https://{name}.readthedocs.io/'.format(name=NAME) CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Framework :: Django',