mkdocs-git-committers-plugin-2
mkdocs-git-committers-plugin-2 copied to clipboard
Enh: Add more details to the authors map
Per earlier feedback - add email to authors details.
Hey @ojacques, thanks for the update! In my case, I combine this plugin with git-authors-plugin, as it also computes the contribution percentage of every author. But that plugin only works with names and emails, and the later is more reliable identifier, so I wonder if it is possible to also include author's emails (or maybe some email-to-id map) into
self.authorstable?
Originally posted by @adamant-pwn in https://github.com/ojacques/mkdocs-git-committers-plugin-2/issues/8#issuecomment-1233411378
As we have the GitHub username, we can fetch those details with an additional GraphQL call. I guess the API token and caching will have to come back! I don't want to do this for everyone though, but I see use cases like displaying additional contributor info: full name, email, short bio, badges, organization, pro or not, sponsor or not.
Hm, so at the moment you get the info from pages like this one, right? How did you find it out? Are there other pages like this?
How did you find it out? Are there other pages like this?
I opened Chrome's debug console and watched the network traffic on a GitHub page to dig this one out.
I am sure there are other pages like this. I largely prefer to use the API, but in this case I could not find a way to do it.