Skip to content

Commit 86c7d09

Browse files
committed
Update the code to be compatible with mkdocstrings 0.28
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 582d222 commit 86c7d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_scripts/macros.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def _hook_macros_plugin(env: macros.MacrosPlugin) -> None:
7575
update_env = python_handler.update_env
7676

7777
# override the `update_env` method of the Python handler
78-
def patched_update_env(markdown: md.Markdown, config: dict[str, Any]) -> None:
79-
update_env(markdown, config)
78+
def patched_update_env(md: md.Markdown, config: dict[str, Any]) -> None:
79+
update_env(md=md, config=config)
8080

8181
# get the `convert_markdown` filter of the env
8282
convert_markdown = python_handler.env.filters["convert_markdown"]

0 commit comments

Comments
 (0)