README.MD 中生成贡献者名单

2018-07-23  本文已影响0人  思考蛙

为你的 github 开源项目加入贡献者名单,除直接在 markdown 文件添加之外,可以用下面这个开源项目的 cli 工具自动生成:
https://github.com/jfmengels/all-contributors-cli

使用方法

只需要在readme.md 适当位置添加下面的注释内容

<!-- ALL-CONTRIBUTORS-LIST: START - Do not remove or modify this section -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

执行

all-contributors generate

更新与添加

# Add new contributor <username>, who made a contribution of type <contribution>
all-contributors add <username> <contribution>
# Example:
all-contributors add jfmengels code,doc

贡献者信息标注的可用图标

上一篇 下一篇

猜你喜欢

热点阅读