]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: use a Sphinx extension to eliminate excessive links (GH-145130) (#145575)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Mar 2026 06:49:30 +0000 (07:49 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Mar 2026 06:49:30 +0000 (08:49 +0200)
Docs: use a Sphinx extension to eliminate excessive links (GH-145130)
(cherry picked from commit 15f6479c415cc6cd219cd25c1d94bab17d720cbc)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Doc/conf.py
Doc/requirements.txt

index a4275835059efaa256c026139709aeb39db06ea3..7466d8ac8698039bf5da11088a75825cb81d06de 100644 (file)
@@ -42,6 +42,7 @@ extensions = [
 
 # Skip if downstream redistributors haven't installed them
 _OPTIONAL_EXTENSIONS = (
+    'linklint.ext',
     'notfound.extension',
     'sphinxext.opengraph',
 )
index d0107744ecbe85ee8fb13bade4b7dc821f7d8f36..536ae57e4efc2982d9f220f3dcc54641dc9365cc 100644 (file)
@@ -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