From: Ned Batchelder Date: Tue, 3 Mar 2026 20:48:43 +0000 (-0500) Subject: Docs: use a Sphinx extension to eliminate excessive links (#145130) X-Git-Tag: v3.15.0a7~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15f6479c415cc6cd219cd25c1d94bab17d720cbc;p=thirdparty%2FPython%2Fcpython.git Docs: use a Sphinx extension to eliminate excessive links (#145130) --- diff --git a/Doc/conf.py b/Doc/conf.py index d7effe2572ec..545049bb4604 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -43,6 +43,7 @@ extensions = [ # 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 d0107744ecbe..536ae57e4efc 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