Skip to content

Commit b33d8ea

Browse files
committed
refactor: Update signature of render method for latest mkdocstrings
1 parent 2162a91 commit b33d8ea

File tree

1 file changed

+1
-1
lines changed
  • src/mkdocstrings_handlers/shell/_internal

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/shell/_internal/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def collect(self, identifier: str, options: ShellOptions) -> CollectorItem: # n
6262
except FileNotFoundError as error:
6363
raise CollectionError(f"Could not find script '{script_path}'") from error
6464

65-
def render(self, data: CollectorItem, options: ShellOptions) -> str:
65+
def render(self, data: CollectorItem, options: ShellOptions, *, locale: str | None = None) -> str: # noqa: ARG002
6666
"""Render the collected data."""
6767
heading_level = options.heading_level
6868
template = self.env.get_template("script.html.jinja")

0 commit comments

Comments
 (0)