From ce66018930d2d2a2ea979472e1a8bc55baefcdaa Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 25 Aug 2026 14:05:54 -0400 Subject: [PATCH] [3.13] Docs(build): linklint is now called sphinx_linklint (GH-156373) * Docs(build): linklint is now called sphinx_linklint * Docs(build): move the lock command to the Makefile * Update Doc/Makefile Co-authored-by: Stan Ulbrych * Add a comment clarify cooldown (and excludes) and add to `make help` --------- (cherry picked from commit 98bd716479dacb1e618a4271df10b2b67c010c4c) Co-authored-by: Ned Batchelder Co-authored-by: Stan Ulbrych --- Doc/conf.py | 2 +- Doc/requirements.txt | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index 1443db83b43d91f..2beef8d5b6f7c43 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -39,7 +39,7 @@ # Skip if downstream redistributors haven't installed them _OPTIONAL_EXTENSIONS = ( - 'linklint.ext', + 'sphinx_linklint.ext', 'notfound.extension', 'sphinxext.opengraph', ) diff --git a/Doc/requirements.txt b/Doc/requirements.txt index 536ae57e4efc298..fc3424bb61dbb23 100644 --- a/Doc/requirements.txt +++ b/Doc/requirements.txt @@ -11,13 +11,12 @@ sphinx<9.0.0 blurb -sphinxext-opengraph~=0.13.0 +sphinx-linklint sphinx-notfound-page~=1.0.0 +sphinxext-opengraph~=0.13.0 # The theme used by the documentation is stored separately, so we need # to install that as well. python-docs-theme>=2023.3.1,!=2023.7 -linklint - -c constraints.txt