Change documentation website to requests.readthedocs.io (#5236)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sorin Sbarnea · committed by Nate Prewitt · parent 4cd95aa · Browse files · 11 files·+16 added−16 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: #5212
Diff stats
11 files+16 added−16 removed
- other:+16 added−16 removed
Provenance
- Commit
d2590ee- Tree
73c5f52- Author
Sorin Sbarnea <ssbarnea@users.noreply.github.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
4cd95aa
11 files changed+16 added−16 removed
modified:docs/_templates/sidebarintro.html+3 added-3 removed
48 unmodified lines4950515253535455565758596061616263646566676868697071727 unmodified lines48 unmodified lines frameborder="0" scrolling="0" width="200" height="20"></iframe></p>
<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>
<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> <li><a href="https://cn.python-requests.org/">Chinese</a></li>7 unmodified linesmodified:docs/_templates/sidebarlogo.html+1 added-1 removed
52 unmodified lines535455565757585960614 unmodified lines52 unmodified lines
<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> <li><a href="https://cn.python-requests.org/">Chinese</a></li>4 unmodified linesmodified:docs/community/faq.rst+1 added-1 removed
19 unmodified lines20 Custom User-Agents?21 -------------------22 23 Requests allows you to easily override User-Agent strings, along with24-any other HTTP Header. See `documentation about headers <http://docs.python-requests.org/en/master/user/quickstart/#custom-headers>`_.24+any other HTTP Header. See `documentation about headers <https://requests.readthedocs.io/en/master/user/quickstart/#custom-headers>`_.25 26 27 28 Why not Httplib2?61 unmodified linesmodified:docs/user/install.rst+1 added-1 removed
16 unmodified lines17 18 $ pipenv install requests19 20 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,21-`this Python installation guide <https://docs.python-guide.org/starting/installation/>`_21+`this Python installation guide <https://requests.readthedocs.io/en/master/user/install/>`_22 can guide you through the process.23 24 Get the Source Code25 -------------------18 unmodified linesmodified:docs/conf.py+1 added-1 removed
379 unmodified lines380 # If false, no index is generated.381 # epub_use_index = True382 383 intersphinx_mapping = {384- "python": ("https://docs.python.org/3/", None),384+ "python": ("https://requests.readthedocs.io/en/master/", None),385 "urllib3": ("https://urllib3.readthedocs.io/en/latest", None),386 }modified:requests/__init__.py+1 added-1 removed
32 unmodified lines33 ...34 }35 36 The other HTTP methods are supported - see `requests.api`. Full documentation37-is at <http://python-requests.org>.37+is at <https://requests.readthedocs.io>.38 39 :copyright: (c) 2017 by Kenneth Reitz.40 :license: Apache 2.0, see LICENSE for more details.41 """90 unmodified linesmodified:requests/__version__.py+1 added-1 removed
2 unmodified lines3 # ' ' `-' `-`.`-' `-' `-' ' `-'4 5 __title__ = 'requests'6 __description__ = 'Python HTTP for Humans.'7-__url__ = 'http://python-requests.org'7+__url__ = 'https://requests.readthedocs.io'8 __version__ = '2.22.0'9 __build__ = 0x02220010 __author__ = 'Kenneth Reitz'11 __author_email__ = 'me@kennethreitz.org'3 unmodified linesmodified:CONTRIBUTING.md+2 added-2 removed
1 unmodified line2 3 Before opening any issues or proposing any pull requests, please do the4 following:5 6-1. Read our [Contributor's Guide](http://docs.python-requests.org/en/latest/dev/contributing/).7-2. Understand our [development philosophy](http://docs.python-requests.org/en/latest/dev/philosophy/).6+1. Read our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).7+2. Understand our [development philosophy](https://requests.readthedocs.io/en/latest/dev/philosophy/).8 9 To get the greatest chance of helpful responses, please also observe the10 following additional notes.11 46 unmodified linesmodified:HISTORY.md+1 added-1 removed
627 unmodified lines628 ------------------629 630 This is the first release that follows our new release process. For631 more, see [our632-documentation](http://docs.python-requests.org/en/latest/community/release-process/).632+documentation](https://requests.readthedocs.io/en/latest/community/release-process/).633 634 **Bugfixes**635 636 - Updated urllib3 to 1.10.4, resolving several bugs involving chunked1014 unmodified linesmodified:README.md+3 added-3 removed
1 unmodified line2 3 <span align="center">4 5 <pre>6- <a href="https://2.python-requests.org/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/requests-logo.png" align="center" /></a>6+ <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/requests-logo.png" align="center" /></a>7 8 <div align="left">9 <p></p>10 <code> Python 3.7.4 (default, Sep 7 2019, 18:27:02)</code>91 unmodified lines102 Requests officially supports Python 2.7 & 3.4–3.8.103 104 -------------------------------------105 106-## P.S. — Documentation is Available at [`//requests.readthedocs.io`](https://requests.readthedocs.io/en/master/).106+## P.S. — Documentation is Available at [`//requests.readthedocs.io`](https://requests.readthedocs.io/en/latest/).107 108 <p align="center">109- <a href="https://2.python-requests.org/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/ss.png" align="center" /></a>109+ <a href="https://requests.readthedocs.io/"><img src="https://raw.githubusercontent.com/psf/requests/master/ext/ss.png" align="center" /></a>110 </p>111 112 113 ------------------13 unmodified linesmodified:setup.py+1 added-1 removed
105 unmodified lines106 'socks': ['PySocks>=1.5.6, !=1.5.7'],107 'socks:sys_platform == "win32" and python_version == "2.7"': ['win_inet_pton'],108 },109 project_urls={110- 'Documentation': 'http://docs.python-requests.org',110+ 'Documentation': 'https://requests.readthedocs.io',111 'Source': 'https://github.com/psf/requests',112 },113 )