From 53d81d67052ed0d673d1d1f067aa39d1ddfc93ca Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 26 Aug 2026 15:46:18 -0400 Subject: [PATCH 1/2] linklint is now sphinx_linklint --- conf.py | 2 +- documentation/style-guide.rst | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 27795dd484..7e0ea0810a 100644 --- a/conf.py +++ b/conf.py @@ -3,7 +3,6 @@ from urllib.request import urlopen extensions = [ - 'linklint.ext', 'notfound.extension', 'sphinx.ext.extlinks', 'sphinx.ext.intersphinx', @@ -11,6 +10,7 @@ 'sphinx_copybutton', 'sphinx_inline_tabs', 'sphinx_last_updated_by_git', + 'sphinx_linklint.ext', 'sphinxcontrib.youtube', 'sphinxext.opengraph', 'sphinxext.rediraffe', diff --git a/documentation/style-guide.rst b/documentation/style-guide.rst index 11032a59f7..806b8e5ab5 100644 --- a/documentation/style-guide.rst +++ b/documentation/style-guide.rst @@ -237,7 +237,7 @@ the second mention is more appropriate for a link. Some units are long enough to have a few repeated links. Use judgement to decide when a link will help the reader. -We use the :pypi:`linklint Sphinx extension ` to suppress two kinds +We use the :pypi:`linklint Sphinx extension ` to suppress two kinds of excessive links: references in a section to itself and duplicate references in a paragraph. Previously, editors had to carefully use an exclamation mark in a Sphinx reference (``:func:`!map```) to prevent such links. diff --git a/requirements.txt b/requirements.txt index 789f9597a3..a63e5aa8ae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ furo>=2025.12.19 jinja2 -linklint sphinx-autobuild>=2025.8.25 sphinx-inline-tabs>=2025.12.21.14 sphinx-last-updated-by-git>=0.3.8 sphinx-lint==1.0.2 sphinx-notfound-page>=1.1.0 sphinx_copybutton>=0.5.2 +sphinx_linklint sphinxcontrib-youtube>=1.5.0 sphinxext-opengraph>=0.13.0 sphinxext-rediraffe From f4ca4b475710feb68c908a03d5f56c1053684f20 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 26 Aug 2026 18:17:58 -0400 Subject: [PATCH 2/2] use the canonical package name --- documentation/style-guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/style-guide.rst b/documentation/style-guide.rst index 806b8e5ab5..9747651b60 100644 --- a/documentation/style-guide.rst +++ b/documentation/style-guide.rst @@ -237,7 +237,7 @@ the second mention is more appropriate for a link. Some units are long enough to have a few repeated links. Use judgement to decide when a link will help the reader. -We use the :pypi:`linklint Sphinx extension ` to suppress two kinds +We use the :pypi:`linklint Sphinx extension ` to suppress two kinds of excessive links: references in a section to itself and duplicate references in a paragraph. Previously, editors had to carefully use an exclamation mark in a Sphinx reference (``:func:`!map```) to prevent such links.