Skip to content

Commit ec88713

Browse files
committed
Fix docs link check
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 962bc59 commit ec88713

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@
7272
re.escape(i)
7373
for i in (
7474
r"https://github.com/tox-dev/tox/issues/new?title=Trouble+with+development+environment",
75-
r"https://www.unix.org/version2/sample/abort.html",
7675
r"https://porkbun.com/", # has captcha on it that makes it return with 405
76+
r"https://opensource.org/license/mit",
7777
)
7878
]
79+
linkcheck_allowed_redirects = {r"https://github.com/tox-dev/tox/issues/\d+": r"https://github.com/tox-dev/tox/pull/\d+"}
7980
extlinks_detect_hardcoded_links = True
8081

8182

docs/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ codes with any value, so their documentation should be consulted.
308308

309309
Sometimes, no exit code is given at all. An example may be found in
310310
:gh:`pytest-qt issue #170 <pytest-dev/pytest-qt/issues/170>`, where Qt was calling
311-
`abort() <https://www.unix.org/version2/sample/abort.html>`_ instead of ``exit()``.
311+
`abort() <https://unix.org/version2/sample/abort.html>`_ instead of ``exit()``.
312312

313313
Access full logs
314314
----------------

0 commit comments

Comments
 (0)