mirrorhelp icon indicating copy to clipboard operation
mirrorhelp copied to clipboard

使用 Github API 自动更新 contributor.rst 中的名单

Open zhsj opened this issue 7 years ago • 1 comments

https://developer.github.com/v3/repos/statistics/ 中有如下 API

GET /repos/:owner/:repo/stats/contributors

可以写一个 sphinx 扩展来自动更新贡献者的名单。

zhsj avatar Apr 20 '19 17:04 zhsj

现在来看的话,可以考虑用 https://contributors-img.web.app/preview 或者类似的服务来创建 contributor 的头像列表。目前 Linux101 的网站上显示贡献者就是用的这个。

当然如果不合适的话我考虑去学一下怎么写 Sphinx plugin(

taoky avatar Nov 24 '20 18:11 taoky

curl -L api.github.com/repos/ustclug/mirrorhelp/contributors | jq 'map(.login) | sort'

taoky avatar Feb 01 '23 09:02 taoky