Skip to content

Commit ea797c4

Browse files
bugfix-missionbenoit74
authored andcommitted
fix(docs): rename mkdocstrings 'import' option to 'inventories'
The mkdocstrings-python handler renamed its 'import' configuration key to 'inventories'. With the pinned mkdocstrings[python]==0.30.1, mkdocs build fails with 'PythonConfig.__init__() got an unexpected keyword argument import', breaking the Read the Docs publication.
1 parent d6bd4b3 commit ea797c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ plugins:
7171
handlers:
7272
python:
7373
# Set up cross-references to Python types
74-
import:
74+
inventories:
7575
- https://docs.python.org/3/objects.inv
7676
paths: [src]
7777
options:

0 commit comments

Comments
 (0)