Skip to content

Commit 88873fc

Browse files
committed
Prefer readthedocs.io instead of readthedocs.org for doc links
Read the Docs moved hosting to readthedocs.io instead of readthedocs.org. Fix all links in the project. For additional details, see: https://blog.readthedocs.com/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. Update badge link per the documentation: https://read-the-docs.readthedocs.io/en/latest/badges.html > If you leave the version argument off, it will default to your latest > version. This is probably best to include in your README, since it > will stay up to date with your Read the Docs project:
1 parent c472e6b commit 88873fc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Accessing protected resources using requests_oauthlib is as simple as:
2424
Before accessing resources you will need to obtain a few credentials from your
2525
provider (e.g. Twitter) and authorization from the user for whom you wish to
2626
retrieve resources for. You can read all about this in the full
27-
`OAuth 1 workflow guide on RTD <http://requests-oauthlib.readthedocs.org/en/latest/oauth1_workflow.html>`_.
27+
`OAuth 1 workflow guide on RTD <https://requests-oauthlib.readthedocs.io/en/latest/oauth1_workflow.html>`_.
2828

2929
The OAuth 2 workflow
3030
--------------------
@@ -37,7 +37,7 @@ Fetching a protected resource after obtaining an access token can be extremely
3737
simple. However, before accessing resources you will need to obtain a few
3838
credentials from your provider (e.g. Google) and authorization from the user
3939
for whom you wish to retrieve resources for. You can read all about this in the
40-
full `OAuth 2 workflow guide on RTD <http://requests-oauthlib.readthedocs.org/en/latest/oauth2_workflow.html>`_.
40+
full `OAuth 2 workflow guide on RTD <https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html>`_.
4141

4242
Installation
4343
-------------
@@ -52,7 +52,7 @@ To install requests and requests_oauthlib you can use pip:
5252
:target: https://travis-ci.org/requests/requests-oauthlib
5353
.. |coverage-status| image:: https://img.shields.io/coveralls/requests/requests-oauthlib.svg
5454
:target: https://coveralls.io/r/requests/requests-oauthlib
55-
.. |docs| image:: https://readthedocs.org/projects/requests-oauthlib/badge/?version=latest
55+
.. |docs| image:: https://readthedocs.org/projects/requests-oauthlib/badge/
5656
:alt: Documentation Status
5757
:scale: 100%
58-
:target: https://readthedocs.org/projects/requests-oauthlib/
58+
:target: https://requests-oauthlib.readthedocs.io/

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251

252252
# Example configuration for intersphinx: refer to the Python standard library.
253253
intersphinx_mapping = {
254-
'python': ('http://python.readthedocs.org/en/latest/', None),
255-
'requests': ('http://requests.readthedocs.org/en/latest/', None),
256-
'oauthlib': ('http://oauthlib.readthedocs.org/en/latest/', None),
254+
'python': ('https://python.readthedocs.io/en/latest/', None),
255+
'requests': ('https://requests.readthedocs.io/en/latest/', None),
256+
'oauthlib': ('https://oauthlib.readthedocs.io/en/latest/', None),
257257
}

0 commit comments

Comments
 (0)