From f0999b043abd0139a403b0af174f6f8fd513ca66 Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Wed, 15 Jun 2016 22:35:43 +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. --- ChangeLog | 2 +- README.md | 2 +- doc/source/index.rst | 2 +- doc/source/tastypie.rst | 2 +- drest/api.py | 6 +++--- drest/request.py | 2 +- drest/resource.py | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6116e6f..49b3d0c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,7 @@ All bugs/feature details can be found at: Where XXXXX is the 'Issue #' referenced below. Additionally, this change log is available online at: - http://drest.readthedocs.org/en/latest/changelog.html + https://drest.readthedocs.io/en/latest/changelog.html .. raw:: html diff --git a/README.md b/README.md index 6ec4225..d05b696 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Features include: More Information ---------------- - * RTFD: http://drest.rtfd.org/ + * RTFD: https://drest.readthedocs.io/ * CODE: http://github.com/datafolklabs/drest/ * PYPI: http://pypi.python.org/pypi/drest/ * T-CI: http://travis-ci.org/datafolklabs/drest/ diff --git a/doc/source/index.rst b/doc/source/index.rst index 0ee89d8..a243886 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -24,7 +24,7 @@ Key Features: Additional Links: - * RTFD: `http://drest.rtfd.org/ `_ + * RTFD: `https://drest.readthedocs.io/ `_ * CODE: `http://github.com/datafolklabs/drest/ `_ * PYPI: `http://pypi.python.org/pypi/drest/ `_ * T-CI: `http://travis-ci.org/#!/datafolklabs/drest `_ diff --git a/doc/source/tastypie.rst b/doc/source/tastypie.rst index 98f49d8..019d8ed 100644 --- a/doc/source/tastypie.rst +++ b/doc/source/tastypie.rst @@ -4,7 +4,7 @@ Working With Django TastyPie ============================ dRest includes an API specifically built for the -`Django TastyPie `_ API framework. +`Django TastyPie `_ API framework. It handles auto-detection of resources, and their schema, as well as other features to support the interface including getting resource data by 'resource_uri'. diff --git a/drest/api.py b/drest/api.py index b159213..f111458 100644 --- a/drest/api.py +++ b/drest/api.py @@ -295,7 +295,7 @@ def add_resource(self, name, resource_handler=None, path=None): class TastyPieAPI(API): """ This class implements an API client, specifically tailored for - interfacing with `TastyPie `_. + interfacing with `TastyPie `_. Optional / Meta Arguments: @@ -364,7 +364,7 @@ class TastyPieAPI(API): api.users.post(data_dict) api.users.delete() - What about filtering? (these depend on how the `API is configured `_): + What about filtering? (these depend on how the `API is configured `_): .. code-block:: python @@ -411,7 +411,7 @@ def _auth_via_api_key(self, user, api_key, **kw): """ This authentication mechanism adds an Authorization header for user/api_key per the - `TastyPie Documentation `_. + `TastyPie Documentation `_. Required Arguments: diff --git a/drest/request.py b/drest/request.py index c21291b..b82635e 100644 --- a/drest/request.py +++ b/drest/request.py @@ -450,7 +450,7 @@ def handle_response(self, response_object): class TastyPieRequestHandler(RequestHandler): """ This class implements the IRequest interface, specifically tailored for - interfacing with `TastyPie `_. + interfacing with `TastyPie `_. See :mod:`drest.request.RequestHandler` for Meta options and usage. diff --git a/drest/resource.py b/drest/resource.py index 131fe72..77f0fb7 100644 --- a/drest/resource.py +++ b/drest/resource.py @@ -246,7 +246,7 @@ def delete(self, resource_id, params=None): class TastyPieResourceHandler(RESTResourceHandler): """ This class implements the IResource interface, specifically tailored for - interfacing with `TastyPie `_. + interfacing with `TastyPie `_. """ class Meta: