Skip to content

Commit 3f52fef

Browse files
[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 1054a75) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
1 parent 355dc72 commit 3f52fef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/conf.py

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

0 commit comments

Comments
 (0)