summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-04-18 20:28:19 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-04-18 20:28:19 -0700
commit165804b25e270ae5668d605aafaec15256e93dcf (patch)
tree9aee4837a0094ca25c3ef93ae1d29144afd8fdcd /docs
parentb66908e7b647689793e299edc111bf9910e93ad3 (diff)
downloadpython-requests-165804b25e270ae5668d605aafaec15256e93dcf.tar.gz
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/sidebarintro.html2
-rw-r--r--docs/index.rst6
-rw-r--r--docs/user/advanced.rst2
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index 047e6524..bdb1c024 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -51,7 +51,7 @@
<p></p>
<li><a href="https://github.com/requests/requests">Requests @ GitHub</a></li>
- <li><a href="https://pypi.python.org/pypi/requests">Requests @ PyPI</a></li>
+ <li><a href="https://pypi.org/project/requests/">Requests @ PyPI</a></li>
<li><a href="https://github.com/requests/requests/issues">Issue Tracker</a></li>
<li><a href="http://docs.python-requests.org/en/latest/community/updates/#software-updates">Release History</a></li>
</ul>
diff --git a/docs/index.rst b/docs/index.rst
index bd9aded2..918e2dcf 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -9,13 +9,13 @@ Requests: HTTP for Humans
Release v\ |version|. (:ref:`Installation <install>`)
.. image:: https://img.shields.io/pypi/l/requests.svg
- :target: https://pypi.python.org/pypi/requests
+ :target: https://pypi.org/project/requests/
.. image:: https://img.shields.io/pypi/wheel/requests.svg
- :target: https://pypi.python.org/pypi/requests
+ :target: https://pypi.org/project/requests/
.. image:: https://img.shields.io/pypi/pyversions/requests.svg
- :target: https://pypi.python.org/pypi/requests
+ :target: https://pypi.org/project/requests/
.. image:: https://codecov.io/github/requests/requests/coverage.svg?branch=master
:target: https://codecov.io/github/requests/requests
diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst
index e5f7f297..a7c0f667 100644
--- a/docs/user/advanced.rst
+++ b/docs/user/advanced.rst
@@ -656,7 +656,7 @@ When you receive a response, Requests makes a guess at the encoding to
use for decoding the response when you access the :attr:`Response.text
<requests.Response.text>` attribute. Requests will first check for an
encoding in the HTTP header, and if none is present, will use `chardet
-<https://pypi.python.org/pypi/chardet>`_ to attempt to guess the encoding.
+<https://pypi.org/project/chardet/>`_ to attempt to guess the encoding.
The only time Requests will not do this is if no explicit charset
is present in the HTTP headers **and** the ``Content-Type``