Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1054a75

Browse files
authored
GH-103484: Tell linkcheck to ignore debian manpage redirects (#123019)
1 parent 1cf624b commit 1054a75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@
546546
r'https://msdn.microsoft.com/.*': 'https://learn.microsoft.com/.*',
547547
r'https://docs.microsoft.com/.*': 'https://learn.microsoft.com/.*',
548548
r'https://go.microsoft.com/fwlink/\?LinkID=\d+': 'https://learn.microsoft.com/.*',
549+
# Debian's man page redirects to its current stable version
550+
r'https://manpages.debian.org/\w+\(\d(\w+)?\)': r'https://manpages.debian.org/\w+/[\w/\-\.]*\.\d(\w+)?\.en\.html',
549551
# Language redirects
550552
r'https://toml.io': 'https://toml.io/en/',
551553
r'https://www.redhat.com': 'https://www.redhat.com/en',

0 commit comments

Comments
 (0)