Install the Bot
This guide explains how you can add the All Contributors bot to your project.
-
安装AllContributors GitHub应用
安装 GitHub 应用
-
配置你的仓库

-
创建
README.md确保项目根目录中包括
README.md文件(可以为空)。If you prefer your contributors table in a place other than the
README.md; After merging your first bot PR, you can move your contributors table, seefilesin the bot configurationMake sure to add this in the markdown:
For the list:
README.md ## Contributors<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --><!-- prettier-ignore-start --><!-- markdownlint-disable --><!-- markdownlint-restore --><!-- prettier-ignore-end --><!-- ALL-CONTRIBUTORS-LIST:END -->For the badge use the following, replacing
projectOwnerwith the relevant GitHub username or organization name, andprojectNamewith the relevant GitHub repo name. Style, color, and other parameters can be customized to your liking — visit shields.io to make a custom badge.README.md [](#contributors)Please create the
.all-contributorsrcfile for the first configuration. It can only have the mandatory information in it to begin. The bot will update it automatically with default config in the first PR.> Here is the minimal.all-contributorsrcfile to add in your repo :.all-contributorsrc {"projectName": "<insert the repo's name>","projectOwner": "<insert the repo's owner/orgs>"} -
更新你的贡献者文档
Consider updating your
CONTRIBUTING.mdor similar with steps on how contributors can add themselves. You can even link to the bot usage documentation.
