From f1601cd9dcd940ab8daca7a6c72aa5d8fba4adf4 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 1 Jun 2026 10:27:37 -0700 Subject: [PATCH] Update sphinx to v7.4.7 This is the latest v7 release. Split out from #27035 --- requirements-dev.txt | 2 +- site/Makefile | 4 ++-- site/source/docs/site/about.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 9cb5413753980..4d06b68d39bc7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -15,7 +15,7 @@ vulture==2.14 # This version is mentioned in `site/source/docs/site/about.rst`. # Please keep them in sync. -sphinx==7.1.2 +sphinx==7.4.7 sphinxcontrib-jquery==4.0 # Needed by test/test_sockets.py diff --git a/site/Makefile b/site/Makefile index c83abbd936f66..30d309b1b7cf2 100644 --- a/site/Makefile +++ b/site/Makefile @@ -4,13 +4,13 @@ # You can set these variables from the command line. SPHINXOPTS = -W SPHINXBUILD = sphinx-build -SPHINXVERSION = 7.1.2 +SPHINXVERSION = 7.4.7 PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx version 7.1.2 installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx version 7.4.7 installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) endif ifneq ($(shell $(SPHINXBUILD) --version), $(SPHINXBUILD) $(SPHINXVERSION)) diff --git a/site/source/docs/site/about.rst b/site/source/docs/site/about.rst index f20ab2bd43382..b6e20c119d34b 100644 --- a/site/source/docs/site/about.rst +++ b/site/source/docs/site/about.rst @@ -4,7 +4,7 @@ About this site =============== -The site is built using `Sphinx `_ (7.1.2), the open source tool used to create the official Python documentation and many other sites. This is a very mature and stable tool, and was selected for, among other reasons, its support for defining API items and linking to them from code. +The site is built using `Sphinx `_ (7.4.7), the open source tool used to create the official Python documentation and many other sites. This is a very mature and stable tool, and was selected for, among other reasons, its support for defining API items and linking to them from code. The site uses a custom theme, which is based on the :ref:`read-the-docs-theme`.