From 02a6664ccce7d13a78ed09131c06d5b414d28491 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 07:12:16 +0000 Subject: [PATCH 1/2] Update sphinx requirement from <9,>=5 to >=5,<10 Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/v9.0.4/CHANGES.rst) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.0.0...v9.0.4) --- updated-dependencies: - dependency-name: sphinx dependency-version: 9.0.4 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e63ae50..48e02e44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dev = ["pre-commit>=2.12.1"] tests = ["pytest", "pytest-mock", "pytest-split", "pytest-cov", "types-setuptools"] docs = [ "sphinx-copybutton==0.5.2", - "sphinx>=5,<9", + "sphinx>=5,<10", "sphinx_design==0.7.0", "myst-nb==1.4.0", "sphinx-book-theme==1.2.0", From 33eb1db617541b13295ce71f2cbbe6af8a4722ad Mon Sep 17 00:00:00 2001 From: Aakash Ashok Naik <91958822+naik-aakash@users.noreply.github.com> Date: Fri, 17 Apr 2026 13:39:29 +0200 Subject: [PATCH 2/2] Enable legacy class-based autodoc implementation --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 8cfb8077..e3f7853a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -87,6 +87,9 @@ napoleon_use_rtype = True napoleon_use_ivar = True +# temp use the old (Sphinx 8.2 and earlier, class-based) implementation +autodoc_use_legacy_class_based = True + # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for