https://github.com/python/cpython/commit/15f6479c415cc6cd219cd25c1d94bab17d720cbc
commit: 15f6479c415cc6cd219cd25c1d94bab17d720cbc
branch: main
author: Ned Batchelder <[email protected]>
committer: nedbat <[email protected]>
date: 2026-03-03T15:48:43-05:00
summary:

Docs: use a Sphinx extension to eliminate excessive links (#145130)

files:
M Doc/conf.py
M Doc/requirements.txt

diff --git a/Doc/conf.py b/Doc/conf.py
index d7effe2572ec44..545049bb460419 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -43,6 +43,7 @@
 
 # Skip if downstream redistributors haven't installed them
 _OPTIONAL_EXTENSIONS = (
+    'linklint.ext',
     'notfound.extension',
     'sphinxext.opengraph',
 )
diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index d0107744ecbe85..536ae57e4efc29 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -18,4 +18,6 @@ sphinx-notfound-page~=1.0.0
 # to install that as well.
 python-docs-theme>=2023.3.1,!=2023.7
 
+linklint
+
 -c constraints.txt

_______________________________________________
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