[DO NOT MERGE] [WIP] Limit number of authors. #249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
At most, 3 authors are showed by default. If there are more, an
et al
is added at the end to show that there are more authors.This is a brief modification to do this. But I don't think this is mergeable. To do so, the modification should allow to configure that number via an argument, and if it does not exist, then show them all.
Also, to be correct, the et al. should be italic as it is latin.
I'm just creating the PR to pave the way to another person that can make a more generic code.
Providing solution to #246
It worked for me: