https://github.com/python/cpython/commit/1054a755a3016f95fcd24b3ad20e8ed9048b7939
commit: 1054a755a3016f95fcd24b3ad20e8ed9048b7939
branch: main
author: Rafael Fontenelle <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-08-14T22:35:23+01:00
summary:
GH-103484: Tell linkcheck to ignore debian manpage redirects (#123019)
files:
M Doc/conf.py
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',
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]