summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@users.noreply.github.com>2019-10-25 04:02:55 +0100
committerNate Prewitt <nate.prewitt@gmail.com>2019-10-24 20:02:55 -0700
commitd2590ee46c0641958b6d4792a206bd5171cb247d (patch)
tree73c5f529e05a1f9242c33cf314c8cc39c4904ca2
parent4cd95aa49611ed3d2f9819e594825f755285c117 (diff)
downloadpython-requests-d2590ee46c0641958b6d4792a206bd5171cb247d.tar.gz
Change documentation website to requests.readthedocs.io (#5236)
Fixes: #5212
-rw-r--r--CONTRIBUTING.md4
-rw-r--r--HISTORY.md2
-rw-r--r--README.md6
-rw-r--r--docs/_templates/sidebarintro.html6
-rw-r--r--docs/_templates/sidebarlogo.html2
-rw-r--r--docs/community/faq.rst2
-rw-r--r--docs/conf.py2
-rw-r--r--docs/user/install.rst2
-rw-r--r--requests/__init__.py2
-rw-r--r--requests/__version__.py2
-rwxr-xr-xsetup.py2
11 files changed, 16 insertions, 16 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 57aef1e0..5c4ff15a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,8 +3,8 @@
Before opening any issues or proposing any pull requests, please do the
following:
-1. Read our [Contributor's Guide](http://docs.python-requests.org/en/latest/dev/contributing/).
-2. Understand our [development philosophy](http://docs.python-requests.org/en/latest/dev/philosophy/).
+1. Read our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).
+2. Understand our [development philosophy](https://requests.readthedocs.io/en/latest/dev/philosophy/).
To get the greatest chance of helpful responses, please also observe the
following additional notes.
diff --git a/HISTORY.md b/HISTORY.md
index 62c254f5..c5163381 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -629,7 +629,7 @@ Or, even better:
This is the first release that follows our new release process. For
more, see [our
-documentation](http://docs.python-requests.org/en/latest/community/release-process/).
+documentation](https://requests.readthedocs.io/en/latest/community/release-process/).
**Bugfixes**
diff --git a/README.md b/README.md
index 80412cc8..48960d59 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
<span align="center">
<pre>
- <a href="https://2.python-requests.org/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/requests-logo.png" align="center" /></a>
+ <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/requests-logo.png" align="center" /></a>
<div align="left">
<p></p>
@@ -103,10 +103,10 @@ Requests officially supports Python 2.7 & 3.4–3.8.
-------------------------------------
-## P.S. — Documentation is Available at [`//requests.readthedocs.io`](https://requests.readthedocs.io/en/master/).
+## P.S. — Documentation is Available at [`//requests.readthedocs.io`](https://requests.readthedocs.io/en/latest/).
<p align="center">
- <a href="https://2.python-requests.org/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/ss.png" align="center" /></a>
+ <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/ss.png" align="center" /></a>
</p>
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index 45da6571..57911a59 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -50,7 +50,7 @@
<h3>Useful Links</h3>
<ul>
- <li><a href="http://docs.python-requests.org/en/latest/community/recommended/">Recommended Packages and Extensions</a>
+ <li><a href="https://requests.readthedocs.io/en/latest/community/recommended/">Recommended Packages and Extensions</a>
</li>
<p></p>
@@ -58,14 +58,14 @@
<li><a href="https://github.com/psf/requests">Requests @ GitHub</a></li>
<li><a href="https://pypi.org/project/requests/">Requests @ PyPI</a></li>
<li><a href="https://github.com/psf/requests/issues">Issue Tracker</a></li>
- <li><a href="http://docs.python-requests.org/en/latest/community/updates/#software-updates">Release History</a></li>
+ <li><a href="https://requests.readthedocs.io/en/latest/community/updates/#software-updates">Release History</a></li>
</ul>
<h3>Translations</h3>
<ul>
- <li><a href="http://docs.python-requests.org/">English</a></li>
+ <li><a href="https://requests.readthedocs.io/">English</a></li>
<li><a href="https://fr.python-requests.org/">French</a></li>
<li><a href="https://de.python-requests.org/">German</a></li>
<li><a href="https://jp.python-requests.org/">Japanese</a></li>
diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html
index 3ef8d85a..af66973d 100644
--- a/docs/_templates/sidebarlogo.html
+++ b/docs/_templates/sidebarlogo.html
@@ -54,7 +54,7 @@
<h3>Translations</h3>
<ul>
- <li><a href="http://docs.python-requests.org/">English</a></li>
+ <li><a href="https://requests.readthedocs.io/">English</a></li>
<li><a href="https://fr.python-requests.org/">French</a></li>
<li><a href="https://de.python-requests.org/">German</a></li>
<li><a href="https://jp.python-requests.org/">Japanese</a></li>
diff --git a/docs/community/faq.rst b/docs/community/faq.rst
index 44d3e6e8..9fdce417 100644
--- a/docs/community/faq.rst
+++ b/docs/community/faq.rst
@@ -21,7 +21,7 @@ Custom User-Agents?
-------------------
Requests allows you to easily override User-Agent strings, along with
-any other HTTP Header. See `documentation about headers <http://docs.python-requests.org/en/master/user/quickstart/#custom-headers>`_.
+any other HTTP Header. See `documentation about headers <https://requests.readthedocs.io/en/master/user/quickstart/#custom-headers>`_.
diff --git a/docs/conf.py b/docs/conf.py
index eb556a81..c13b05e7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -381,6 +381,6 @@ epub_exclude_files = ["search.html"]
# epub_use_index = True
intersphinx_mapping = {
- "python": ("https://docs.python.org/3/", None),
+ "python": ("https://requests.readthedocs.io/en/master/", None),
"urllib3": ("https://urllib3.readthedocs.io/en/latest", None),
}
diff --git a/docs/user/install.rst b/docs/user/install.rst
index 73e69f29..bc32244f 100644
--- a/docs/user/install.rst
+++ b/docs/user/install.rst
@@ -18,7 +18,7 @@ To install Requests, simply run this simple command in your terminal of choice::
$ pipenv install requests
If you don't have `pipenv <http://pipenv.org/>`_ installed (tisk tisk!), head over to the Pipenv website for installation instructions. Or, if you prefer to just use pip and don't have it installed,
-`this Python installation guide <https://docs.python-guide.org/starting/installation/>`_
+`this Python installation guide <https://requests.readthedocs.io/en/master/user/install/>`_
can guide you through the process.
Get the Source Code
diff --git a/requests/__init__.py b/requests/__init__.py
index 3486f5e1..626247cb 100644
--- a/requests/__init__.py
+++ b/requests/__init__.py
@@ -34,7 +34,7 @@ Basic GET usage:
}
The other HTTP methods are supported - see `requests.api`. Full documentation
-is at <http://python-requests.org>.
+is at <https://requests.readthedocs.io>.
:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
diff --git a/requests/__version__.py b/requests/__version__.py
index 9844f740..f98cd752 100644
--- a/requests/__version__.py
+++ b/requests/__version__.py
@@ -4,7 +4,7 @@
__title__ = 'requests'
__description__ = 'Python HTTP for Humans.'
-__url__ = 'http://python-requests.org'
+__url__ = 'https://requests.readthedocs.io'
__version__ = '2.22.0'
__build__ = 0x022200
__author__ = 'Kenneth Reitz'
diff --git a/setup.py b/setup.py
index 62c71718..57035333 100755
--- a/setup.py
+++ b/setup.py
@@ -107,7 +107,7 @@ setup(
'socks:sys_platform == "win32" and python_version == "2.7"': ['win_inet_pton'],
},
project_urls={
- 'Documentation': 'http://docs.python-requests.org',
+ 'Documentation': 'https://requests.readthedocs.io',
'Source': 'https://github.com/psf/requests',
},
)