From 7774063dd44ab252b48d136c248a34ee35168a6d Mon Sep 17 00:00:00 2001 From: bugfix-mission Date: Thu, 23 Apr 2026 00:40:57 +0800 Subject: [PATCH] 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. --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6e3ca61..78caf7d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -71,7 +71,7 @@ plugins: handlers: python: # Set up cross-references to Python types - import: + inventories: - https://docs.python.org/3/objects.inv paths: [src] options: