dev-python/sphinx: add USE=doc patch

Closes: https://bugs.gentoo.org/823095
Thanks-to: Dirk Sondermann <ds-gentoo@dyximaq.de>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-01-02 03:36:53 +00:00
parent 2fcac46033
commit 3d5741d2eb
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/823095
--- a/doc/usage/configuration.rst
+++ b/doc/usage/configuration.rst
@@ -2650,8 +2650,8 @@
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 <requests:authentication>` for details).
+ that is understood by the ``requests`` library (see `requests
+ Authentication <https://docs.python-requests.org/en/master/user/authentication/#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

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -57,6 +57,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-3.2.1-doc-link.patch"
"${FILESDIR}/${PN}-4.3.2-doc-link.patch"
)
distutils_enable_tests pytest