Skip to content

Commit

Permalink
pythonGH-103484: Tell linkcheck to ignore debian manpage redirects (p…
Browse files Browse the repository at this point in the history
…ythonGH-123019)

(cherry picked from commit 1054a75)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
  • Loading branch information
rffontenelle authored and miss-islington committed Sep 16, 2024
1 parent f3c1f3d commit b2cda27
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 b2cda27

Please sign in to comment.