From 4668bb1ee68aa0ff7ec1d8802cedc0986e243e37 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 22 Feb 2026 18:46:41 -0500 Subject: [PATCH] WIP: Docs: use a Sphinx extension to eliminate excessive links --- Doc/conf.py | 1 + Doc/requirements.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index d7effe2572ec44..2721e376298bc1 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -39,6 +39,7 @@ 'sphinx.ext.coverage', 'sphinx.ext.doctest', 'sphinx.ext.extlinks', + 'linklint.ext', ] # Skip if downstream redistributors haven't installed them diff --git a/Doc/requirements.txt b/Doc/requirements.txt index d0107744ecbe85..f8f3922ef5be18 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 +git+https://github.com/nedbat/linklint + -c constraints.txt