https://github.com/python/cpython/commit/3f52fef151939d865ed6cc1b53f17ab4440c1838
commit: 3f52fef151939d865ed6cc1b53f17ab4440c1838
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-09-23T11:10:59-07:00
summary:

[3.13] GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) 
(#124137)

GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019)
(cherry picked from commit 1054a755a3016f95fcd24b3ad20e8ed9048b7939)

Co-authored-by: Rafael Fontenelle <[email protected]>

files:
M Doc/conf.py

diff --git a/Doc/conf.py b/Doc/conf.py
index 915e9317fa4bab..0618bc97e13939 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -547,6 +547,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]

Reply via email to