From ec88713785a81f883ea12387dfb40045b0ac4181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Mon, 21 Oct 2024 22:50:08 -0700 Subject: [PATCH] Fix docs link check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- docs/conf.py | 3 ++- docs/faq.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cfc497acf..f24110bd5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -72,10 +72,11 @@ re.escape(i) for i in ( r"https://github.com/tox-dev/tox/issues/new?title=Trouble+with+development+environment", - r"https://www.unix.org/version2/sample/abort.html", r"https://porkbun.com/", # has captcha on it that makes it return with 405 + r"https://opensource.org/license/mit", ) ] +linkcheck_allowed_redirects = {r"https://github.com/tox-dev/tox/issues/\d+": r"https://github.com/tox-dev/tox/pull/\d+"} extlinks_detect_hardcoded_links = True diff --git a/docs/faq.rst b/docs/faq.rst index 6ca972643..897cd1692 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -308,7 +308,7 @@ codes with any value, so their documentation should be consulted. Sometimes, no exit code is given at all. An example may be found in :gh:`pytest-qt issue #170 `, where Qt was calling -`abort() `_ instead of ``exit()``. +`abort() `_ instead of ``exit()``. Access full logs ----------------