Skip to content

Commit 8a7279a

Browse files
ThomasTNOtimvink
authored andcommitted
fix: determine contribution on page level
1 parent 721735b commit 8a7279a

File tree

1 file changed

+1
-1
lines changed
  • mkdocs_git_authors_plugin/git

1 file changed

+1
-1
lines changed

mkdocs_git_authors_plugin/git/page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_authors(self):
8282
self._authors = [
8383
a
8484
for a in self._authors
85-
if a.contribution() * 100 > author_threshold
85+
if a.contribution(self._path) * 100 > author_threshold
8686
]
8787
return self._authors
8888

0 commit comments

Comments
 (0)