https://github.com/python/cpython/commit/1151dd6c73ab1fe3d9848c4e4d61f15fd640d52e
commit: 1151dd6c73ab1fe3d9848c4e4d61f15fd640d52e
branch: 3.12
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com>
date: 2024-09-16T18:49:14Z
summary:

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

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

Co-authored-by: Rafael Fontenelle <rffontene...@users.noreply.github.com>

files:
M Doc/conf.py

diff --git a/Doc/conf.py b/Doc/conf.py
index 319cdf6079027c..1de864c3da0fdd 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -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',

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to