mkdocs-git-authors-plugin
mkdocs-git-authors-plugin copied to clipboard
sort the authors by contribution and eliminate low-contribution authors
- It is helpful to eliminate authors with a very low contribution percentage.
- It is helpful to sort authors by contribution percentage without showing the percentage
As a result, the following config options are added:
sort_authors_by- defaults toname, can also becontributionauthorship_threshold_percent- defaults to0for backwards compatibility. Sets the lower bound for inclusion as an author.
Interesting & valuable update, thanks!
I will not be able to get around to reviewing it until somewhere next week. hopefully you're not in a hurry ;)
Interesting & valuable update, thanks!
I will not be able to get around to reviewing it until somewhere next week. hopefully you're not in a hurry ;)
No problem, we're currently doing some testing on it with our company docs site: https://docs-v2.trinsic.id/ from the fork.
- I've also got an alternative idea for the pruning (show only top
Nauthors). That way, if you have 3 contributors at 32% each and 1 at 4%, you can give equal credit to the majors and eliminate the minor. - Maybe add an option for
et aland a hyperlink to expand the full author list?
I can take care of all changes, will let you know when I get the PR updated.
Hi @fundthmcalculus , I see this PR is stale. Are you able to pick up the last couple of changes? I'd like to make a new release with your changes included!
Merged! I will take care of the changes & make a release. Thanks for all the work on this one, will ping you once the release is there.