summaryrefslogtreecommitdiff
path: root/docs
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 /docs
parent4cd95aa49611ed3d2f9819e594825f755285c117 (diff)
downloadpython-requests-d2590ee46c0641958b6d4792a206bd5171cb247d.tar.gz
Change documentation website to requests.readthedocs.io (#5236)
Fixes: #5212
Diffstat (limited to 'docs')
-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
5 files changed, 7 insertions, 7 deletions
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