Skip to content

Commit 7c6d6a4

Browse files
committed
fix docs build on Sphinx 9+
1 parent c94a34a commit 7c6d6a4

File tree

3 files changed

+84
-57
lines changed

3 files changed

+84
-57
lines changed

doc/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
"sphinx.ext.viewcode",
4949
]
5050

51+
# https://github.com/sphinx-doc/sphinxcontrib-django/pull/76
52+
autodoc_use_legacy_class_based = True
53+
5154
# Add any paths that contain templates here, relative to this directory.
5255
templates_path = ['_templates']
5356

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ docs = [
110110
"docutils>=0.21.2",
111111
"furo>=2024.8.6",
112112
"readme-renderer[md]>=44.0",
113-
"sphinx<9.0",
113+
"sphinx>=8.0",
114114
"sphinx-autobuild>=2024.10.3",
115115
"sphinx-tabs>=3.4.7",
116116
"sphinxcontrib-django>=2.5",

0 commit comments

Comments
 (0)