Skip to content

Commit

Permalink
Merge pull request #303 from jdufresne/readthedocs
Browse files Browse the repository at this point in the history
Prefer readthedocs.io instead of readthedocs.org for doc links
  • Loading branch information
singingwolfboy committed May 20, 2018
2 parents 5c7c8aa + 88873fc commit b3a9c69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Accessing protected resources using requests_oauthlib is as simple as:
Before accessing resources you will need to obtain a few credentials from your
provider (e.g. Twitter) and authorization from the user for whom you wish to
retrieve resources for. You can read all about this in the full
`OAuth 1 workflow guide on RTD <http://requests-oauthlib.readthedocs.org/en/latest/oauth1_workflow.html>`_.
`OAuth 1 workflow guide on RTD <https://requests-oauthlib.readthedocs.io/en/latest/oauth1_workflow.html>`_.

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

Installation
-------------
Expand All @@ -52,7 +52,7 @@ To install requests and requests_oauthlib you can use pip:
:target: https://travis-ci.org/requests/requests-oauthlib
.. |coverage-status| image:: https://img.shields.io/coveralls/requests/requests-oauthlib.svg
:target: https://coveralls.io/r/requests/requests-oauthlib
.. |docs| image:: https://readthedocs.org/projects/requests-oauthlib/badge/?version=latest
.. |docs| image:: https://readthedocs.org/projects/requests-oauthlib/badge/
:alt: Documentation Status
:scale: 100%
:target: https://readthedocs.org/projects/requests-oauthlib/
:target: https://requests-oauthlib.readthedocs.io/
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@

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

0 comments on commit b3a9c69

Please sign in to comment.