Skip to content

Commit 1151dd6

Browse files
[3.12] GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) (#124136)
GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) (cherry picked from commit 1054a75) Co-authored-by: Rafael Fontenelle <[email protected]>
1 parent f3c1f3d commit 1151dd6

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
@@ -532,6 +532,8 @@
532532
r'https://msdn.microsoft.com/.*': 'https://learn.microsoft.com/.*',
533533
r'https://docs.microsoft.com/.*': 'https://learn.microsoft.com/.*',
534534
r'https://go.microsoft.com/fwlink/\?LinkID=\d+': 'https://learn.microsoft.com/.*',
535+
# Debian's man page redirects to its current stable version
536+
r'https://manpages.debian.org/\w+\(\d(\w+)?\)': r'https://manpages.debian.org/\w+/[\w/\-\.]*\.\d(\w+)?\.en\.html',
535537
# Language redirects
536538
r'https://toml.io': 'https://toml.io/en/',
537539
r'https://www.redhat.com': 'https://www.redhat.com/en',

0 commit comments

Comments
 (0)