-
Notifications
You must be signed in to change notification settings - Fork 86
Show "Main contributor" besides "Last contributor" on every page #746
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
It does not feel right to only show the last contributor when sometimes 99% of the commits are from a different person.
Below the "Last updated by" line in the footer we can add something like "Main contributor XYZ with X commits.", also with picture and GitHub link, which shows the author with most commits.
This would need:
- Changing
source/_ext/gitstamp.pyto retrieve this info fromgit shortlog -snand put it in thecontextvariable.- Use the
gitPython package as it is already done, obviously, no more calling external processes and piping output. - Rename
gitauthor,gitavatarandgitlogintogitLastAuthor,gitLastAvatarandgitLastLogin. - Call the new variables
gitMainAuthor,gitMainAvatarandgitMainLogin.
- Use the
- Changing
source/_templates/include/footer.htmlto render this info.- Be careful with the two layouts (desktop and mobile).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers