diff --git a/mkdocs_git_authors_plugin/git/page.py b/mkdocs_git_authors_plugin/git/page.py index 0c3fe9f..be7f465 100644 --- a/mkdocs_git_authors_plugin/git/page.py +++ b/mkdocs_git_authors_plugin/git/page.py @@ -82,7 +82,7 @@ def get_authors(self): self._authors = [ a for a in self._authors - if a.contribution() * 100 > author_threshold + if a.contribution(self._path) * 100 > author_threshold ] return self._authors