From c9b96b1aaa7434015b95db7428f0908aff753c04 Mon Sep 17 00:00:00 2001 From: "Matt.Wang" Date: Fri, 23 Jan 2026 00:09:41 +0800 Subject: [PATCH] install sphinx<9.0 to avoid false warnings --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 68604f26330..7d6a217f0ff 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ $(VENV)/bin/activate: uv venv $(VENV) $(VENV)/bin/sphinx-build: $(VENV)/bin/activate - . $(VENV)/bin/activate; uv pip install sphinx python-docs-theme + . $(VENV)/bin/activate; uv pip install "sphinx<9.0" python-docs-theme $(VENV)/bin/sphinx-lint: $(VENV)/bin/activate . $(VENV)/bin/activate; uv pip install sphinx-lint @@ -103,7 +103,7 @@ $(VENV)/bin/blurb: $(VENV)/bin/activate .PHONY: upgrade_venv upgrade_venv: $(VENV)/bin/activate ## Upgrade the venv that compiles the doc - @. $(VENV)/bin/activate; uv pip install -q --upgrade sphinx python-docs-theme blurb sphinx-lint + @. $(VENV)/bin/activate; uv pip install -q --upgrade "sphinx<9.0" python-docs-theme blurb sphinx-lint .PHONY: progress