mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-103484: Tell linkcheck to ignore debian manpage redirects (#123019)
This commit is contained in:
parent
1cf624be6d
commit
1054a755a3
1 changed files with 2 additions and 0 deletions
|
@ -546,6 +546,8 @@ linkcheck_allowed_redirects = {
|
|||
r'https://msdn.microsoft.com/.*': 'https://learn.microsoft.com/.*',
|
||||
r'https://docs.microsoft.com/.*': 'https://learn.microsoft.com/.*',
|
||||
r'https://go.microsoft.com/fwlink/\?LinkID=\d+': 'https://learn.microsoft.com/.*',
|
||||
# Debian's man page redirects to its current stable version
|
||||
r'https://manpages.debian.org/\w+\(\d(\w+)?\)': r'https://manpages.debian.org/\w+/[\w/\-\.]*\.\d(\w+)?\.en\.html',
|
||||
# Language redirects
|
||||
r'https://toml.io': 'https://toml.io/en/',
|
||||
r'https://www.redhat.com': 'https://www.redhat.com/en',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue