From a1149046fc801ec9cb4ef21199fc6edb3ce1870b Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 14 Aug 2024 16:04:52 -0300 Subject: [PATCH] Tell linkcheck to ignore debian manpage redirects --- Doc/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index 3860d146a27e85..dc6ea6ad2b1bb6 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -546,6 +546,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',