Contributor Covenant Code of Conduct
August 21, 2026 · View on GitHub
Our Pledge
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
Our Standards
Examples of behavior that contributes to a positive environment for our community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
Scope
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at huangrt01@163.com. All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
1. Correction
Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
2. Warning
Community Impact: A violation through a single incident or series of actions.
Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
3. Temporary Ban
Community Impact: A serious violation of community standards, including sustained inappropriate behavior.
Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
4. Permanent Ban
Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
Consequence: A permanent ban from any sort of public interaction within the community.
Attribution
This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct/.
Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladder.
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
中文版(Chinese)
本文件是 Contributor Covenant 2.1 的中文翻译。若中英文版本存在 差异,以英文原版为准。
我们的承诺
作为成员、贡献者和维护者,我们承诺让社区参与对所有参与者而言都是 无骚扰的体验,无论其年龄、体型、可见或不可见的残障、族裔、性别特征、 性别认同与表达、经验水平、教育背景、社会经济地位、国籍、个人外貌、 种族、种姓、肤色、宗教或性认同与取向如何。
我们承诺以促进开放、友好、多元、包容和健康社区的方式行事与互动。
我们的标准
有助于为我们的社区营造积极环境的行为包括:
- 对他人展现同理心与善意
- 尊重不同的意见、观点与经验
- 给予并优雅地接受建设性反馈
- 为自己的错误承担责任,向受影响者道歉,并从中学习
- 不只关注作为个体的自己,也关注整个社区的共同利益
不可接受的行为包括:
- 使用性化语言或意象,以及任何形式的性关注或性挑逗
- 挑衅、侮辱或贬低性评论,以及人身攻击或政治攻击
- 公开或私下的骚扰
- 未经明确许可,公开他人的隐私信息(如住址或邮箱地址)
- 在专业场合可被合理视为不当的其他行为
执行责任
社区维护者负责澄清和执行可接受行为的标准,并会对他们认为不当、威胁、 冒犯或有害的行为采取适当且公正的纠正措施。
社区维护者有权且有责任删除、编辑或拒绝与本公约不符的评论、提交、代码、 Wiki 编辑、Issue 及其他贡献,并在适当时说明管理决定的原因。
适用范围
本公约适用于所有社区空间,也适用于个人在公共场合正式代表社区的情况。 代表社区的示例包括使用官方邮箱地址、通过官方社交媒体账号发布内容, 或在线上或线下活动中担任指定代表。
执行
如遇辱骂、骚扰或其他不可接受的行为,可向负责执行的社区维护者举报: huangrt01@163.com。 所有投诉都会被及时、公正地审查与调查。
所有社区维护者都有义务尊重事件举报者的隐私与安全。
执行指南
社区维护者将依据以下社区影响指南,决定对违反本公约行为采取何种后果:
1. 纠正
社区影响:使用不当语言或其他被认为不专业或不受欢迎的行为。
后果:由社区维护者私下发出书面警告,说明违规性质及行为不当的原因; 可能会要求公开道歉。
2. 警告
社区影响:通过单次事件或一系列行为造成的违规。
后果:对继续行为产生后果的警告。在指定时间内,不得与相关人员互动, 包括未经请求地与公约执行者互动。这包括避免在社区空间以及社交媒体等 外部渠道进行互动。违反这些条款可能导致临时或永久封禁。
3. 临时封禁
社区影响:严重违反社区标准,包括持续的不当行为。
后果:在指定时间内,暂时禁止与社区进行任何形式的互动或公开交流。 在此期间,不得与相关人员有任何公开或私下的互动,包括未经请求地与 公约执行者互动。违反这些条款可能导致永久封禁。
4. 永久封禁
社区影响:表现出持续违反社区标准的行为模式,包括持续的不当行为、 对个人的骚扰,或对某一类人群的攻击或贬低。
后果:永久禁止在社区内进行任何形式的公开互动。
出处
本公约改编自 Contributor Covenant 2.1 版,原文见 https://www.contributor-covenant.org/version/2/1/code_of_conduct/。
社区影响指南参考了 Mozilla 的行为准则执行阶梯。
关于本公约的常见问题,请参阅 https://www.contributor-covenant.org/faq;其他语言译本见 https://www.contributor-covenant.org/translations。