From c01a10f01b36486e6521ba5a29b7dba5a8f8cfd4 Mon Sep 17 00:00:00 2001 From: phil65 Date: Tue, 14 Nov 2023 20:39:22 +0100 Subject: [PATCH] chore: cleanup --- mknodes/pages/mkmodulepage/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/mknodes/pages/mkmodulepage/__init__.py b/mknodes/pages/mkmodulepage/__init__.py index 0ab1b5d6..c3e1e51e 100644 --- a/mknodes/pages/mkmodulepage/__init__.py +++ b/mknodes/pages/mkmodulepage/__init__.py @@ -24,7 +24,6 @@ def __init__( *, klasses: list[type] | set[type] | None = None, title: str | None = None, - path: str | os.PathLike | None = None, template: str | os.PathLike | None = None, **kwargs: Any, ): @@ -34,7 +33,6 @@ def __init__( module: ModuleType or path to model to show info for. klasses: klasses to use title: Optional title override. Defaults to module name - path: Filename/path for the Module page. defaults to [modulename].md template: Name of the template to load kwargs: further keyword arguments passed to parent """ @@ -49,7 +47,6 @@ def __init__( template=tpl_name, template_parent=DEFAULT_TPL if tpl_name != DEFAULT_TPL else None, title=title or self.parts[-1], - path=path or f"{self.parts[-1]}.md", **kwargs, )