Skip to content

Commit 70e0c31

Browse files
Fix linkcheck_auth link to Requests authentication
The link was directing to https://www.sphinx-doc.org/en/master/usage/requests-auth>. Prefer using the intersphinx module to generate the link, it’s more robust than directly linking to the page.
1 parent f571787 commit 70e0c31

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/usage/configuration.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,10 +2637,8 @@ Options for the linkcheck builder
26372637
A regular expression that matches a URI.
26382638
*auth_info*
26392639
Authentication information to use for that URI. The value can be anything
2640-
that is understood by the ``requests`` library (see `requests
2641-
Authentication <requests-auth>`_ for details).
2642-
2643-
.. _requests-auth: https://requests.readthedocs.io/en/master/user/authentication/
2640+
that is understood by the ``requests`` library (see :ref:`requests
2641+
Authentication <requests:authentication>` for details).
26442642

26452643
The ``linkcheck`` builder will use the first matching ``auth_info`` value
26462644
it can find in the :confval:`linkcheck_auth` list, so values earlier in the

0 commit comments

Comments
 (0)