mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.13] GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) (#124137)
GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019)
(cherry picked from commit 1054a755a3
)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
This commit is contained in:
parent
355dc72546
commit
3f52fef151
1 changed files with 2 additions and 0 deletions
|
@ -547,6 +547,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