Skip to content
Myr

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

11 files+16 added−16 removed

modified:docs/_templates/sidebarintro.html+3 added-3 removed
modified:docs/_templates/sidebarlogo.html+1 added-1 removed
modified:docs/community/faq.rst+1 added-1 removed
19 unmodified lines
20Custom User-Agents?21-------------------2223Requests allows you to easily override User-Agent strings, along with24any other HTTP Header. See `documentation about headers <http://docs.python-requests.org/en/master/user/quickstart/#custom-headers>`_.24any other HTTP Header. See `documentation about headers <https://requests.readthedocs.io/en/master/user/quickstart/#custom-headers>`_.25262728Why not Httplib2?
61 unmodified lines
modified:docs/user/install.rst+1 added-1 removed
16 unmodified lines
1718 $ pipenv install requests1920If 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/>`_22can guide you through the process.2324Get the Source Code25-------------------
18 unmodified lines
modified:docs/conf.py+1 added-1 removed
379 unmodified lines
380# If false, no index is generated.381# epub_use_index = True382383intersphinx_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 lines
33 ...34 }3536The other HTTP methods are supported - see `requests.api`. Full documentation37is at <http://python-requests.org>.37is at <https://requests.readthedocs.io>.3839:copyright: (c) 2017 by Kenneth Reitz.40:license: Apache 2.0, see LICENSE for more details.41"""
90 unmodified lines
modified:requests/__version__.py+1 added-1 removed
2 unmodified lines
3# ' ' `-' `-`.`-' `-' `-' ' `-'45__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 lines
modified:CONTRIBUTING.md+2 added-2 removed
1 unmodified line
23Before opening any issues or proposing any pull requests, please do the4following:561. Read our [Contributor's Guide](http://docs.python-requests.org/en/latest/dev/contributing/).72. Understand our [development philosophy](http://docs.python-requests.org/en/latest/dev/philosophy/).61. Read our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).72. Understand our [development philosophy](https://requests.readthedocs.io/en/latest/dev/philosophy/).89To get the greatest chance of helpful responses, please also observe the10following additional notes.11
46 unmodified lines
modified:HISTORY.md+1 added-1 removed
627 unmodified lines
628------------------629630This is the first release that follows our new release process. For631more, see [our632documentation](http://docs.python-requests.org/en/latest/community/release-process/).632documentation](https://requests.readthedocs.io/en/latest/community/release-process/).633634**Bugfixes**635636- Updated urllib3 to 1.10.4, resolving several bugs involving chunked
1014 unmodified lines
modified:README.md+3 added-3 removed
1 unmodified line
23<span align="center">45<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 lines
102Requests officially supports Python 2.7 & 3.4–3.8.103104-------------------------------------105106## 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/).107108<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>111112113------------------
13 unmodified lines
modified:setup.py+1 added-1 removed
105 unmodified lines
106 '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)