Skip to content

Commit

Permalink
[3.12] GH-103484: Tell linkcheck to ignore debian manpage redirects (G…
Browse files Browse the repository at this point in the history
…H-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]>
  • Loading branch information
miss-islington and rffontenelle authored Sep 16, 2024
1 parent f3c1f3d commit 1151dd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@
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',
Expand Down

0 comments on commit 1151dd6

Please sign in to comment.