Skip to content

Commit 475ee23

Browse files
Fix mkdocs build for mkdocstrings-python 0.29+
Rename `import` to `inventories` in mkdocs.yml for compatibility with mkdocstrings-python 0.29+, which renamed this configuration option. Add version pin (>=0.29) to ensure the correct config syntax is used. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 6c372e5 commit 475ee23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plugins:
3333
handlers:
3434
python:
3535
paths: [ setuptools-scm/src, vcs-versioning/src ]
36-
import:
36+
inventories:
3737
- https://docs.python.org/3/objects.inv
3838
options:
3939
separate_signature: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ docs = [
1919
"mkdocs",
2020
"mkdocs-include-markdown-plugin",
2121
"mkdocs-material",
22-
"mkdocstrings[python]",
22+
"mkdocstrings[python]>=0.29", # 0.29 renamed import to inventories
2323
"pygments",
2424
"griffe-public-wildcard-imports",
2525
]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)