All Contributors

All Contributors

  • 文档
  • GitHub
  • Languages icon中文
    • English
    • 日本語
    • Deutsch
    • Español
    • Français
    • Bahasa Indonesia
    • 한국어
    • Polski
    • Português (Brasil)
    • Русский

›@all-contributors Bot 🤖

规范

  • 概览
  • 规范
  • Emoji键 ✨
  • 仓库维护人员
  • 工具

@all-contributors Bot 🤖

  • 概览
  • 安装
  • 用法
  • 配置
  • FAQs

CLI

  • 概览
  • 安装
  • 用法
  • 配置

项目

  • 帮助我们改进
  • 行为准则
  • 如何实现?
Edit

Bot安装

1. 安装AllContributors GitHub应用

安装GitHub应用

应用安装截屏

2. 配置你的仓库

配置仓库截图

3. 创建一个README.md

Ensure you have a README.md file at the root of the project (it can be empty).

如果你更倾向于你的贡献者表在非README.md的地方;在合并你的第一次机器人PR后,你可以移动你的贡献者表,请查看在bot configuration里的files。

Make sure to add this in the markdown:

For the list:

## 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 -->

Note: Extra line is very important in order to make it work properly.

For the badge use the following, replacing projectOwner with the relevant GitHub username or organization name, and projectName with the relevant the GitHub repo name. Style, color, and other parameters can be customized to your liking — see https://shields.io/.

[![All Contributors](https://img.shields.io/github/all-contributors/projectOwner/projectName?color=ee8449&style=flat-square)](#contributors)

Please create the .all-contributorsrc file 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-contributorsrc file to add in your repo :

{
  "projectName": "<insert the repo's name>",
  "projectOwner": "<insert the repo's owner/orgs>"
}

4. 更新你的贡献者文档

可以考虑更新你的 CONTRIBUTING.md或者类似文件,用来列举贡献者如何添加自己的步骤。 你甚至可以链接到bot usage documentation。

接下来呢?

  • 使用机器人
  • 配置机器人
← 概览用法 →
  • 1. 安装AllContributors GitHub应用
  • 2. 配置你的仓库
  • 3. 创建一个README.md
  • 4. 更新你的贡献者文档
  • 接下来呢?
All ContributorsStar All Contributors