Skip to content

Commit 0b3cf36

Browse files
twsltimvink
authored andcommitted
Remove position only
1 parent 885e5ea commit 0b3cf36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mkdocs_git_authors_plugin/plugin.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def on_config(self, config: MkDocsConfig, **kwargs) -> Union[MkDocsConfig, None]
7272
raise
7373

7474
def on_files(
75-
self, files: Files, /, *, config: MkDocsConfig, **kwargs
75+
self, files: Files, *, config: MkDocsConfig, **kwargs
7676
) -> Union[Files, None]:
7777
"""
7878
Preprocess all markdown pages in the project.
@@ -116,7 +116,7 @@ def on_files(
116116
_ = self.repo().page(path)
117117

118118
def on_page_content(
119-
self, html: str, /, *, page: Page, config: MkDocsConfig, files: Files, **kwargs
119+
self, html: str, *, page: Page, config: MkDocsConfig, files: Files, **kwargs
120120
) -> Union[str, None]:
121121
"""
122122
Replace jinja tag {{ git_site_authors }} in HTML.
@@ -178,7 +178,6 @@ def on_page_content(
178178
def on_page_context(
179179
self,
180180
context: TemplateContext,
181-
/,
182181
*,
183182
page: Page,
184183
config: MkDocsConfig,

0 commit comments

Comments
 (0)