Skip to content

Commit d0b5ae3

Browse files
JohnVillalovosnejch
authored andcommitted
chore: upgrade to sphinx 8.2.1 and resolve issues
sphinx-doc/sphinx@7ba7628 broke us.
1 parent 58e798e commit d0b5ae3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/ext/docstrings.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import inspect
22
import os
3+
from typing import Sequence
34

45
import jinja2
56
import sphinx
67
import sphinx.ext.napoleon as napoleon
8+
from sphinx.config import _ConfigRebuild
79
from sphinx.ext.napoleon.docstring import GoogleDocstring
810

911

@@ -20,9 +22,11 @@ def setup(app):
2022
app.connect("autodoc-process-docstring", _process_docstring)
2123
app.connect("autodoc-skip-member", napoleon._skip_member)
2224

23-
conf = napoleon.Config._config_values
25+
conf: Sequence[tuple[str, bool | None, _ConfigRebuild, set[type]]] = (
26+
napoleon.Config._config_values
27+
)
2428

25-
for name, (default, rebuild) in conf.items():
29+
for name, default, rebuild, _ in conf:
2630
app.add_config_value(name, default, rebuild)
2731
return {"version": sphinx.__display_version__, "parallel_read_safe": True}
2832

requirements-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
furo==2024.8.6
33
jinja2==3.1.5
44
myst-parser==4.0.1
5-
sphinx==8.1.3
5+
sphinx==8.2.1
66
sphinxcontrib-autoprogram==0.1.9
77
sphinx-autobuild==2024.10.3

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy