tomjn / WordPress-The-Right-Way

WordPress The Right Way

Home Page:https://www.wptherightway.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributor Page

tomjn opened this issue · comments

Asking people to add their names is never going to work, there must be a way of getting grunt and gitbook to 'build' a contributors page using the github API

Have not tested it but there is this:
https://github.com/superlukas/grunt-git-contributors
https://www.npmjs.org/package/grunt-contributors

GET /repos/:owner/:repo/contributors

hmm I assume it's grunt doing it, I may be wrong, there's an example gitbook plugin here:

https://github.com/GitbookIO/plugin

Something that replaced a placeholder on this event:

https://github.com/GitbookIO/plugin/blob/master/index.js#L43

With a list/table of contributors may work, I'm not sure how it would pull in the github repo, we'd have to define its URL in book.json and figure out how to read that

I've replaced the list on the credits page with a link to the contributors page on this repo for the moment