Skip to content

Commit 13b0f34

Browse files
Alex LEEgeekrainy
authored andcommitted
Add code-of-couduct.md (theme-next#198)
1 parent 82687a4 commit 13b0f34

File tree

2 files changed

+193
-0
lines changed

2 files changed

+193
-0
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<div align="right">Language: :us:
2+
<a title="Chinese" href="../docs/zh-CN/CODE_OF_CONDUCT.md">:cn:</a>
3+
<a title="Russian" href="../docs/ru/CODE_OF_CONDUCT.md">:ru:</a></div>
4+
5+
# <div align="center"><a title="Go to homepage" href="https://theme-next.org"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/theme-next/hexo-theme-next/master/source/images/logo.svg?sanitize=true"></a> e x T</div>
6+
7+
[NexT](https://github.com/theme-next/hexo-theme-next) is an elegant and powerful theme for [Hexo](https://hexo.io/). With it, you can build a static blog hosted on [GitHub Pages](https://pages.github.com/) to share your life and communicate with new friends.
8+
9+
A CODE_OF_CONDUCT dictates how conversation during code updates, issue communication, and pull requests should happen within [NexT](https://github.com/theme-next/hexo-theme-next) repository. We expect all users to show respect and courtesy to others through our repositories. Anyone violating these rules will not be reviewed and will be blocked and expelled from our repositories immediately upon discovery.
10+
11+
## Table Of Contents
12+
13+
- [Our Pledge](#our-pledge)
14+
- [Our Responsibilities](#our-responsibilities)
15+
- [Our Standards](#our-standards)
16+
- [Scope](#scope)
17+
- [Enforcement](#enforcement)
18+
- [Contacting Maintainers](#contacting-maintainers)
19+
- [Attribution](#attribution)
20+
21+
## Our Pledge
22+
23+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
24+
25+
In the interest of fostering an open and welcoming environment, we are committed to making participation in our community a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual identity and orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
26+
27+
## Our Responsibilities
28+
29+
Project maintainers have the right and responsibility to clarify the standards of acceptable behavior and are expected to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to block temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Our Standards
32+
33+
As a project on GitHub, this project is overed by the [GitHub Community Guidelines](https://help.github.com/articles/github-community-guidelines/). Additionally, as a project hosted on npm, it is covered by [npm Inc's Code of Conduct](https://www.npmjs.com/policies/conduct).
34+
35+
Examples of behavior that contributes to creating a positive environment include:
36+
37+
* Using welcoming and inclusive language.
38+
* Being respectful of differing viewpoints and experiences.
39+
* Gracefully accepting constructive feedback.
40+
* Focusing on what is best for the community.
41+
* Showing empathy and kindness towards other community members.
42+
43+
Examples of unacceptable behavior by participants include:
44+
45+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
46+
* Trolling, insulting/derogatory comments, and personal or political attacks
47+
* Public or private harassment
48+
* Publishing others’ private information, such as a physical or electronic address, without explicit permission
49+
* Other conduct which could reasonably be considered inappropriate in a professional setting
50+
51+
## Scope
52+
53+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
54+
55+
Depending on the violation, the maintainers may decide that violations of this code of conduct that have happened outside of the scope of the community may deem an individual unwelcome, and take appropriate action to maintain the comfort and safety of its members.
56+
57+
## Enforcement
58+
59+
If you see a Code of Conduct violation, follow these steps:
60+
61+
1. Let the person know that what they did is not appropriate and ask them to stop and/or edit their message(s) or commits. That person should immediately stop the behavior and correct the issue.
62+
2. If this doesn’t happen, or if you're uncomfortable speaking up, [contact the maintainers](#contacting-maintainers). When reporting, please include any relevant details, links, screenshots, context, or other information that may be used to better understand and resolve the situation.
63+
3. As soon as available, a maintainer will look into the issue, and take further action.
64+
65+
Once the maintainers get involved, they will follow a documented series of steps and do their best to preserve the well-being of project members.
66+
67+
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
68+
69+
Thesehese are the steps maintainers will take for further enforcement, as needed:
70+
71+
1. Repeat the request to stop.
72+
2. If the person doubles down, they will have offending messages removed or edited by a maintainers given an official warning. The PR or Issue may be locked.
73+
3. If the behavior continues or is repeated later, the person will be blocked from participating for 24 hours.
74+
4. If the behavior continues or is repeated after the temporary block, a long-term (6-12 months) ban will be used.
75+
76+
On top of this, maintainers may remove any offending messages, images, contributions, etc, as they deem necessary. Maintainers reserve full rights to skip any of these steps, at their discretion, if the violation is considered to be a serious and/or immediate threat to the well-being of members of the community. These include any threats, serious physical or verbal attacks, and other such behavior that would be completely unacceptable in any social setting that puts our members at risk.
77+
78+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
79+
80+
## Contacting Maintainers
81+
82+
You may get in touch with the maintainer team through any of the following methods:
83+
84+
* Through Email:
85+
* [support@theme-next.org](mailto:support@theme-next.org)
86+
87+
* Through Chat:
88+
* [Gitter](https://gitter.im/theme-next)
89+
* [Riot](https://riot.im/app/#/room/#NexT:matrix.org)
90+
* [Telegram](https://t.me/joinchat/GUNHXA-vZkgSMuimL1VmMw)
91+
92+
## Attribution
93+
94+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/) and [WeAllJS Code of Conduct](https://wealljs.org/code-of-conduct).

docs/zh-CN/CODE_OF_CONDUCT.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<div align="right">Language: :us:
2+
<a title="Chinese" href="../docs/zh-CN/CODE_OF_CONDUCT.md">:cn:</a>
3+
<a title="Russian" href="../docs/ru/CODE_OF_CONDUCT.md">:ru:</a></div>
4+
5+
# <div align="center"><a title="Go to homepage" href="https://theme-next.org"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/theme-next/hexo-theme-next/master/source/images/logo.svg?sanitize=true"></a> e x T</div>
6+
7+
[NexT](https://github.com/theme-next/hexo-theme-next) 是一个优雅而强大的 [Hexo](https://hexo.io/)主题。在这里,您可以构建一个托管在 [GitHub Pages](https://pages.github.com/) 上的静态博客,分享您的生活,并与新朋友进行交流。
8+
9+
参与者公约用来约束在 [NexT](https://github.com/theme-next/hexo-theme-next) 社区中代码更新、问题交流、请求合并等行为。我们期望所有用户相互尊重,礼貌待人。任何违反这些规则的人都将不会被审核,并会在发现后立即被阻止和驱逐。
10+
11+
## 目录
12+
13+
- [我们的保证](#our-pledge)
14+
- [我们的责任](#our-responsibilities)
15+
- [我们的标准](#our-standards)
16+
- [使用范围](#scope)
17+
- [强制执行](#enforcement)
18+
- [联系项目维护者](#contacting-maintainers)
19+
- [来源](#attribution)
20+
21+
<a name="our-pledge"></a>
22+
## 我们的保证
23+
24+
作为此项目的贡献者和维护者,我们承诺尊重所有做出贡献的用户,这些贡献包括了报告问题、发布功能请求、更新文档、提交合并请求以及其他活动。
25+
26+
为了促进一个开放透明且友好的环境,我们作为贡献者和维护者保证:无论年龄、种族、民族、性别认同和表达(方式)、体型、身体健全与否、经验水平、国籍、个人表现、宗教或性别取向,参与者在我们项目和社区中都免于骚扰。
27+
28+
<a name="our-responsibilities"></a>
29+
## 我们的责任
30+
31+
项目维护者有责任为「可接受的行为」标准做出诠释,有权利及责任去删除、编辑、拒绝与本行为标准有所违背的评论(comments)、提交(commits)、代码、wiki 编辑、问题(issues)和其他贡献,以及项目维护者可暂时或永久性的禁止任何他们认为有不适当、威胁、冒犯、有害行为的贡献者。
32+
33+
<a name="our-standards"></a>
34+
## 我们的标准
35+
36+
作为 GitHub 上的一个项目,本项目受到 [GitHub 社区准则](https://help.github.com/articles/github-community-guidelines/)的约束。 此外,作为 npm 托管的项目,[npm 公司的行为准则](https://www.npmjs.com/policies/conduct)也涵盖了本项目。
37+
38+
有助于创造正面环境的行为包括但不限于:
39+
40+
* 使用友好和包容性语言
41+
* 尊重不同的观点和经历
42+
* 耐心地接受建设性批评
43+
* 关注对社区最有利的事情
44+
* 友善对待其他社区成员
45+
46+
身为参与者不能接受的行为包括但不限于:
47+
48+
* 使用与性有关的言语或是图像,以及不受欢迎的性骚扰
49+
* 捣乱/煽动/造谣的行为或进行侮辱/贬损的评论,人身攻击及政治攻击
50+
* 公开或私下的骚扰
51+
* 未经许可地发布他人的个人资料,例如住址或是电子地址
52+
* 其他可以被合理地认定为不恰当或者违反职业操守的行为
53+
54+
<a name="scope"></a>
55+
## 使用范围
56+
57+
当一个人代表该项目或是其社区时,本行为标准适用于其项目社区和公共社区。
58+
59+
根据某人在本社区范围以外发生的违规情况,项目维护者可以认为其不受欢迎,并采取适当措施来保证所有成员的安全性和舒适性。
60+
61+
<a name="enforcement"></a>
62+
## 强制执行
63+
64+
如果您看到违反行为准则的行为,请按以下步骤操作:
65+
66+
1. 让这个人知道他所做的并不合适,并要求他停止或编辑他们的提交信息。该人应立即停止行为并纠正问题。
67+
2. 如果该人没有纠正其行为,或者您不方便与其沟通,请[联系项目维护者](#contacting-maintainers)。上报时,请尽可能多的提供详细信息,链接,截图,上下文或可用于更好地理解和解决情况的其他信息。
68+
3. 收到上报信息后,项目维护者会查看问题,并采取进一步的措施。
69+
70+
一旦项目维护者参与其中,他们将遵循以下一系列步骤,并尽力保护项目成员的利益。任何维护团队认为有必要且适合的所有投诉都将进行审查及调查,并做出相对应的回应。项目小组有对事件回报者有保密的义务。具体执行的方针近一步细节可能会单独公布。
71+
72+
以下是项目维护者根据需要采取的进一步执法步骤:
73+
74+
1. 再次要求停止违规行为。
75+
2. 如果违规者还是没有回应,将会受到正式的警告,并收到项目维护者的移除或修改消息。同时,相关的问题或合并请求将会被锁定。
76+
3. 如果警告后违规行为继续出现,违规者将会被禁言 24 小时。
77+
4. 如果禁言后违规行为继续出现,违规者将会被处罚长期(6-12个月)禁言。
78+
79+
除此之外,项目维护者可以根据需要删除任何违规的消息,图片,贡献等。如果违规行为被认为是对社区成员的严重或直接威胁,包括任何置社区成员于风险的威胁、身体或言语攻击,项目维护者有充分权利自行决定跳过上述任何步骤。
80+
81+
没有切实地遵守或是执行本行为标准的项目维护人员,可能会因项目领导人或是其他成员的决定,暂时或是永久地取消其参与资格。
82+
83+
<a name="contacting-maintainers"></a>
84+
## 联系项目维护者
85+
86+
您可以通过以下任何方法与维护人员联系
87+
88+
* 电子邮件:
89+
* [support@theme-next.org](mailto:support@theme-next.org)
90+
91+
* 即时通信:
92+
* [Gitter](https://gitter.im/theme-next)
93+
* [Riot](https://riot.im/app/#/room/#NexT:matrix.org)
94+
* [Telegram](https://t.me/joinchat/GUNHXA-vZkgSMuimL1VmMw)
95+
96+
<a name="attribution"></a>
97+
## 来源
98+
99+
本行为标准改编自[Contributor Covenant](https://www.contributor-covenant.org/)[WeAllJS Code of Conduct](https://wealljs.org/code-of-conduct)

0 commit comments

Comments
 (0)