mkdocs-git-authors-plugin
mkdocs-git-authors-plugin copied to clipboard
Authorship_threshold_percent ignored
I am running into the problem that configurations beyond the first one (show_contribution: true
) are ignored. I set authorship_threshold_percent: 10
, but I found contributions of 0.88 %.
Package Versions:
- mkdocs 1.4.2
- mkdocs-git-authors-plugin 0.7.0
- mkdocs-git-revision-date-localized-plugin 1.1.0
- mkdocs-material 9.0.13
- mkdocs-material-extensions 1.1.1
- python 3.10
Relevant parts in mkdocs.yml:
plugins:
- search:
lang: en
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: false
timezone: Europe/Paris
- git-authors:
show_contribution: true
sort_authors_by: contribution
authorship_threshold_percent: 10
I'm seeing the same behaviour where contributors below the threshold are still shown.
Also, when using sort_authors_by: contribution
instead of name
, it does not sort them by name anymore, but the order (%) of contribution is not correct.
Using:
- mkdocs==1.4.0
- mkdocs-git-authors-plugin==0.6.4
- mkdocs-git-revision-date-localized-plugin==1.0.1
- mkdocs-material==8.5.11
- mkdocs-material-extensions==1.1.1
I also have the same issue.
Thanks for reporting, I will need to look into this when I can make time again.