From 18c4ee7fd959b62614cd1b0627630c98d2ebe677 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 27 May 2022 23:59:36 +0100 Subject: [PATCH 1/2] Update requests links --- EXAMPLES | 2 +- doc/conf.py | 1 - doc/usage/configuration.rst | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/EXAMPLES b/EXAMPLES index da41e20e22c..1f1d92365b2 100644 --- a/EXAMPLES +++ b/EXAMPLES @@ -40,7 +40,7 @@ Documentation using the alabaster theme * `pytest `__ (customized) * `python-apt `__ * `PyVisfile `__ -* `Requests `__ +* `Requests `__ * `searx `__ * `Spyder `__ (customized) * `Tablib `__ diff --git a/doc/conf.py b/doc/conf.py index 8da5f4b1617..51f4c10f728 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -109,7 +109,6 @@ intersphinx_mapping = { 'python': ('https://docs.python.org/3/', None), - 'requests': ('https://docs.python-requests.org/en/latest/', None), 'readthedocs': ('https://docs.readthedocs.io/en/stable', None), } diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index 677eb39271a..60dd33c156d 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -2670,8 +2670,8 @@ Options for the linkcheck builder A regular expression that matches a URI. *auth_info* Authentication information to use for that URI. The value can be anything - that is understood by the ``requests`` library (see :ref:`requests - Authentication ` for details). + that is understood by the ``requests`` library (see `requests Authentication + `__ for details). The ``linkcheck`` builder will use the first matching ``auth_info`` value it can find in the :confval:`linkcheck_auth` list, so values earlier in the From a49d405e89a9d203702eea6ec6d8032a1d8ff35d Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 28 May 2022 00:11:55 +0100 Subject: [PATCH 2/2] Line length --- doc/usage/configuration.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index 60dd33c156d..479d4b5773f 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -2670,8 +2670,10 @@ Options for the linkcheck builder A regular expression that matches a URI. *auth_info* Authentication information to use for that URI. The value can be anything - that is understood by the ``requests`` library (see `requests Authentication - `__ for details). + that is understood by the ``requests`` library (see `requests Authentication`__ + for details). + + __ https://requests.readthedocs.io/en/master/user/authentication The ``linkcheck`` builder will use the first matching ``auth_info`` value it can find in the :confval:`linkcheck_auth` list, so values earlier in the