From 4158480c9160e5175f19c0ddbe6cc907c5fdaa5e Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Sat, 11 Jun 2016 10:56:42 +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 +- configurations/base.py | 2 +- docs/cookbook.rst | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 76020d4..c80f72c 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ object oriented programming patterns. Check out the `documentation`__ for more complete examples. -.. __: http://django-configurations.readthedocs.org/en/latest/ +.. __: https://django-configurations.readthedocs.io/en/latest/ Quickstart diff --git a/configurations/base.py b/configurations/base.py index 11cd630..7be0748 100644 --- a/configurations/base.py +++ b/configurations/base.py @@ -15,7 +15,7 @@ __all__ = ['Configuration'] install_failure = ("django-configurations settings importer wasn't " "correctly installed. Please use one of the starter " "functions to install it as mentioned in the docs: " - "http://django-configurations.readthedocs.org/") + "https://django-configurations.readthedocs.io/") class ConfigurationBase(type): diff --git a/docs/cookbook.rst b/docs/cookbook.rst index 8d00133..43d7879 100644 --- a/docs/cookbook.rst +++ b/docs/cookbook.rst @@ -192,7 +192,7 @@ It also works with django-extensions's shell_plus_ management command. .. _IPython: http://ipython.org/ .. _`manage your IPython profile`: http://ipython.org/ipython-doc/dev/config/overview.html#configuration-file-location -.. _shell_plus: http://django-extensions.readthedocs.org/en/latest/shell_plus.html +.. _shell_plus: https://django-extensions.readthedocs.io/en/latest/shell_plus.html FastCGI ------- diff --git a/setup.py b/setup.py index 7b267c4..4544bc2 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def find_version(*parts): setup( name="django-configurations", version=find_version("configurations", "__init__.py"), - url='http://django-configurations.readthedocs.org/', + url='https://django-configurations.readthedocs.io/', license='BSD', description="A helper for organizing Django settings.", long_description=read('README.rst'),