Skip to content

Commit cbf2172

Browse files
committed
Move Code of Conduct into docs
1 parent c683afc commit cbf2172

File tree

4 files changed

+159
-138
lines changed

4 files changed

+159
-138
lines changed

Diff for: .github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Project's README/documents
1515
README.md @ItsDrike
1616
CODE-OF-CONDUCT.md @ItsDrike
17+
docs/code-of-conduct.rst @ItsDrike
1718
CONTRIBUTING.md @ItsDrike
1819
ATTRIBUTION.md @ItsDrike
1920
LICENSE.txt @ItsDrike

Diff for: CODE-OF-CONDUCT.md

+2-133
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,2 @@
1-
# Code of Conduct
2-
3-
This code of conduct outlines our expectations for the contributors to this project. We, as members, contributors and
4-
leaders are committed to providing a welcoming and inspiring project that anyone can easily join, expecting a
5-
harassment-free experience, as described in this code of conduct.
6-
7-
The goal of this document is to set the overall tone for our community. It is here to outline some of the things you
8-
can and can't do if you wish to participate in our community. However it is not here to serve as a rule-book with a
9-
complete set of things you can't do, social conduct differs from situation to situation, and person to person, but we
10-
should do our best to try and provide a good experience to everyone, in every situation.
11-
12-
We value many things beyond just technical expertise, including collaboration and supporting others within our
13-
community. Providing a positive experience for others can have a much more significant impact than simply providing the
14-
correct answer.
15-
16-
## Harassment
17-
18-
We share a common understanding of what constitutes harassment as it applies to a professional setting. Although this
19-
list cannot be exhaustive, we explicitly honor diversity in age, gender, culture, ethnicity, language, national origin,
20-
political beliefs, profession, race, religion, sexual orientation, socioeconomic status, disability and personal
21-
appearance. We will not tolerate discrimination based on any of the protected characteristics above, including some
22-
that may not have been explicitly mentioned here. We consider discrimination of any kind to be unacceptable and
23-
immoral.
24-
25-
Harassment includes, but is not limited to:
26-
27-
- Offensive comments (or "jokes") related to any of the above mentioned attributes.
28-
- Deliberate "outing"/"doxing" of any aspect of a person's identity, such as physical or electronic address, without
29-
their explicit consent, except as necessary to protect others from intentional abuse.
30-
- Unwelcome comments regarding a person's lifestyle choices and practices, including those related to food, health,
31-
parenting, drugs and employment.
32-
- Deliberate misgendering. This includes deadnaming or persistently using a pronoun that does not correctly reflect a
33-
person's gender identity. You must address people by the name they give you when not addressing them by their
34-
username or handle.
35-
- Threats of violence, both physical and psychological.
36-
- Incitement of violence towards any individual, including encouraging a person to engage in self-harm.
37-
- Publication of non-harassing private communication.
38-
- Pattern of inappropriate social conduct, such as requesting/assuming inappropriate levels of intimacy with others, or
39-
excessive teasing after a request to stop.
40-
- Continued one-on-one communication after requests to cease.
41-
- Sabotage of someone else's work or intentionally hindering someone else's performance.
42-
43-
## Plagiarism
44-
45-
Plagiarism is the re-use of someone else's work (eg: any code, binary content such as images, textual content such as
46-
an article, but also source code, etc.) without the permission or license right from the author. Claiming someone
47-
else's work as your own is not just immoral and disrespectful to the author, but also illegal in most countries. You
48-
should always follow the authors wishes, and give credit where credit is due.
49-
50-
If we found that you've intentionally attempted to add plagiarized content to our code-base, you will likely be
51-
permanently banned from any future contributions to this project's repository. We will of course also do our best to
52-
remove, or properly attribute this plagiarized content as quickly as possible.
53-
54-
Please note that an online repository that has no license is presumed to only be source-available, NOT open-source.
55-
Meaning that this work is protected by author's copyright, automatically imposed over it, and without any license
56-
extending that copyright, you have no rights to use such code. So know that you can't simply take some source-code,
57-
even though it's published publicly. This code may be available to see for anyone, but that does not mean it's also
58-
available to be used by anyone in other projects.
59-
60-
Another important note to keep in mind is that even if some project has an open-source license, that license may have
61-
conditions which are incompatible with our codebase (such as requiring all of the code that links to this new part to
62-
also be licensed under the same license, which our code-base is not currently under). That is why it's necessary to
63-
understand a license before using code available under it. Simple attribution often isn't everything that the license
64-
requires.
65-
66-
## Generally inappropriate behavior
67-
68-
Outside of just harassment and plagiarism, there are countless other behaviors which we consider unacceptable, as they may discourage
69-
people from engaging with our community.
70-
71-
**Examples of generally inappropriate behavior:**
72-
73-
- The use of sexualized language or imagery of any kind
74-
- The use of inappropriate images, including in an account's avatar
75-
- The use of inappropriate language, including in an account's nickname
76-
- Any spamming, flamming, baiting or other attention-stealing behavior
77-
- Discussing topics that are overly polarizing, sensitive, or incite arguments.
78-
- Responding with "RTFM", "just google it" or similar response to help requests
79-
- Other conduct which could be reasonably considered inappropriate
80-
81-
**Examples of generally appropriate behavior:**
82-
83-
- Being kind and courteous to others
84-
- Collaborating with other community members
85-
- Gracefully accepting constructive criticism
86-
- Using welcoming and inclusive language
87-
- Showing empathy towards other community members
88-
89-
## Scope
90-
91-
This Code of Conduct applies within all community spaces, including this repository itself, conversations on any
92-
platforms officially connected to this project (such as in GitHub issues, through official emails or applications like
93-
discord). It also applies when an individual is officially representing the community in public spaces. Examples of
94-
representing our community include using an official social media account, or acting as an appointed representative at
95-
an online or offline event.
96-
97-
## Enforcement Responsibilities
98-
99-
Whenever a participant has made a mistake, we expect them to take responsibility for their actions. If someone has been
100-
harmed or offended, it is our responsibility to listen carefully and respectfully, and to do our best to right the
101-
wrong.
102-
103-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take
104-
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive
105-
or harmful.
106-
107-
Community leaders have the right and responsibility to remove, edit or reject comments, commits, code, wiki edits,
108-
issues and other contributions within the enforcement scope that are not aligned to this Code of Conduct, and will
109-
communicate reasons for moderation decisions when appropriate.
110-
111-
If you have experienced or witnessed unacceptable behavior constituting a code of conduct violation or have any other
112-
code of conduct concerns, please let us know and we will do our best to resolve this issue.
113-
114-
## Sources
115-
116-
The open-source community has an incredible amount of resources that people have freely provided to others and we all
117-
depend on these projects in many ways. This code of conduct article is no exception and there were many open source
118-
projects that has helped bring this code of conduct to existence. For that reason, we'd like to thank all of these
119-
communities and projects for keeping their content open and available to everyone, but most notably we'd like to thank
120-
the projects with established codes of conduct and diversity statements that we used as our inspiration. Below is the
121-
list these projects:
122-
123-
- [Python](https://www.python.org/community/diversity/)
124-
- [Contributor Covenant](https://www.contributor-covenant.org/)
125-
- [Rust-lang](https://www.rust-lang.org/policies/code-of-conduct)
126-
- [Code Fellows](https://github.com/codefellows/code-of-conduct)
127-
- [Python Discord](https://www.pythondiscord.com/pages/code-of-conduct/)
128-
129-
## License
130-
131-
All content of this page is licensed under a Creative Commons Attributions license.
132-
133-
For more information about this license, see: <https://creativecommons.org/licenses/by/3.0/>
1+
You can find our Code of Conduct in the project's documentation
2+
[here](https://mcproto.readthedocs.io/en/latest/pages/code-of-conduct/)

Diff for: changes/40.docs.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Move code of conduct to the docs.

Diff for: docs/pages/code-of-conduct.rst

+155-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,159 @@
11
Code of Conduct
22
===============
33

4-
.. mdinclude:: ../../CODE-OF-CONDUCT.md
5-
:start-line: 2
4+
This code of conduct outlines our expectations for the people involved with this project. We, as members, contributors
5+
and leaders are committed to providing a welcoming and inspiring project that anyone can easily join, expecting
6+
a harassment-free experience, as described in this code of conduct.
67

7-
..
8-
TODO: Rewrite the code of conduct here directly, rather than including it
9-
like this, and just include a link to the docs in CODE-OF-CONDUCT.md
8+
This code of conduct is here to ensure we provide a welcoming and inspiring project that anyone can easily join,
9+
expecting a harassment-free experience, as described in this code of conduct.
10+
11+
The goal of this document is to set the overall tone for our community. It is here to outline some of the things you
12+
can and can't do if you wish to participate in our community. However it is not here to serve as a rule-book with
13+
a complete set of things you can't do, social conduct differs from situation to situation, and person to person, but we
14+
should do our best to try and provide a good experience to everyone, in every situation.
15+
16+
We value many things beyond just technical expertise, including collaboration and supporting others within our
17+
community. Providing a positive experience for others can have a much more significant impact than simply providing the
18+
correct answer.
19+
20+
Harassment
21+
----------
22+
23+
We share a common understanding of what constitutes harassment as it applies to a professional setting. Although this
24+
list cannot be exhaustive, we explicitly honor diversity in age, gender, culture, ethnicity, language, national origin,
25+
political beliefs, profession, race, religion, sexual orientation, socioeconomic status, disability and personal
26+
appearance. We will not tolerate discrimination based on any of the protected characteristics above, including some
27+
that may not have been explicitly mentioned here. We consider discrimination of any kind to be unacceptable and
28+
immoral.
29+
30+
Harassment includes, but is not limited to:
31+
32+
* Offensive comments (or "jokes") related to any of the above mentioned attributes.
33+
* Deliberate "outing"/"doxing" of any aspect of a person's identity, such as physical or electronic address, without
34+
their explicit consent, except as necessary to protect others from intentional abuse.
35+
* Unwelcome comments regarding a person's lifestyle choices and practices, including those related to food, health,
36+
parenting, drugs and employment.
37+
* Deliberate misgendering. This includes deadnaming or persistently using a pronoun that does not correctly reflect a
38+
person's gender identity. You must address people by the name they give you when not addressing them by their
39+
username or handle.
40+
* Threats of violence, both physical and psychological.
41+
* Incitement of violence towards any individual, including encouraging a person to engage in self-harm.
42+
* Publication of non-harassing private communication.
43+
* Pattern of inappropriate social conduct, such as requesting/assuming inappropriate levels of intimacy with others, or
44+
excessive teasing after a request to stop.
45+
* Continued one-on-one communication after requests to cease.
46+
* Sabotage of someone else's work or intentionally hindering someone else's performance.
47+
48+
Plagiarism
49+
----------
50+
51+
Plagiarism is the re-use of someone else's work (eg: binary content such as images, textual content such as an article,
52+
but also source code, or any other copyrightable resources) without the permission or license right from the author.
53+
Claiming someone else's work as your own is not just immoral and disrespectful to the author, but also illegal in most
54+
countries. You should always follow the authors wishes, and give credit where credit is due.
55+
56+
If we found that you've **intentionally** attempted to add plagiarized content to our code-base, you will likely end up
57+
being permanently banned from any future contributions to this project's repository. We will of course also do our best
58+
to remove, or properly attribute this plagiarized content as quickly as possible.
59+
60+
An unintentional attempt at plagiarism will not be punished as harshly, but nevertheless, it is your responsibility as
61+
a contributor to check where the code you're submitting comes from, and so repeated submission of such content, even
62+
after you were warned might still get you banned.
63+
64+
Please note that an online repository that has no license is presumed to only be source-available, NOT open-source.
65+
Meaning that this work is protected by author's copyright, automatically imposed over it, and without any license
66+
extending that copyright, you have no rights to use such code. So know that you can't simply take some source-code,
67+
even though it's published publicly. This code may be available to be seen by anyone, but that does not mean it's also
68+
available to be used by anyone in other projects.
69+
70+
Another important note to keep in mind is that even if some project has an open-source license, that license may have
71+
conditions which are incompatible with our codebase (such as requiring all of the code that links to this new part to
72+
also be licensed under the same license, which our code-base is not currently under). That is why it's necessary to
73+
understand a license before using code available under it. Simple attribution often isn't everything that the license
74+
requires.
75+
76+
Generally inappropriate behavior
77+
--------------------------------
78+
79+
Outside of just harassment and plagiarism, there are countless other behaviors which we consider unacceptable, as they
80+
may be offensive, and discourage people from engaging with our community.
81+
82+
**Examples of generally inappropriate behavior:**
83+
84+
* The use of sexualized language or imagery of any kind
85+
* The use of inappropriate images, including in an account's avatar
86+
* The use of inappropriate language, including in an account's nickname
87+
* Any spamming, flamming, baiting or other attention-stealing behavior
88+
* Discussing topics that are overly polarizing, sensitive, or incite arguments.
89+
* Responding with "RTFM", "just google it" or similar response to help requests
90+
* Other conduct which could be reasonably considered inappropriate
91+
92+
**Examples of generally appropriate behavior:**
93+
94+
* Being kind and courteous to others
95+
* Collaborating with other community members
96+
* Gracefully accepting constructive criticism
97+
* Using welcoming and inclusive language
98+
* Showing empathy towards other community members
99+
100+
Scope
101+
-----
102+
103+
This Code of Conduct applies within all community spaces, including this repository itself, conversations on any
104+
platforms officially connected to this project (such as in GitHub issues, through official emails or applications like
105+
discord). It also applies when an individual is officially representing the community in public spaces. Examples of
106+
representing our community include using an official social media account, or acting as an appointed representative at
107+
an online or offline event.
108+
109+
All members involved with the project are expected to follow this Code of Conduct, no matter their position in the
110+
project's hierarchy, this Code of Conduct applies equally to contributors, maintainers, people seeking help/reporting
111+
bugs, etc.
112+
113+
Enforcement Responsibilities
114+
----------------------------
115+
116+
Whenever a participant has made a mistake, we expect them to take responsibility for their actions. If someone has been
117+
harmed or offended, it is our responsibility to listen carefully and respectfully, and to do our best to right the
118+
wrong.
119+
120+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take
121+
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening,
122+
offensive, harmful, or otherwise undesirable.
123+
124+
Community leaders have the right and responsibility to remove, edit or reject comments, commits, code, wiki edits,
125+
issues and other contributions within the enforcement scope that are not aligned to this Code of Conduct, and will
126+
communicate reasons for moderation decisions when appropriate.
127+
128+
If you have experienced or witnessed unacceptable behavior constituting a code of conduct violation or have any other
129+
code of conduct concerns, please let us know and we will do our best to resolve this issue.
130+
131+
Reporting a Code of Conduct violation
132+
-------------------------------------
133+
134+
If you saw someone violating the Code of Conduct in some way, you can report it to any repository maintainer, either by
135+
email or through a Discord DM. You should avoid using public channels for reporting these, and instead do so in private
136+
discussion with a maintainer.
137+
138+
Sources
139+
-------
140+
141+
The open-source community has an incredible amount of resources that people have freely provided to others and we all
142+
depend on these projects in many ways. This code of conduct article is no exception and there were many open source
143+
projects that has helped bring this code of conduct to existence. For that reason, we'd like to thank all of these
144+
communities and projects for keeping their content open and available to everyone, but most notably we'd like to thank
145+
the projects with established codes of conduct and diversity statements that we used as our inspiration. Below is the
146+
list these projects:
147+
148+
* `Python <https://www.python.org/community/diversity/>`_
149+
* `Contributor Covenant <https://www.contributor-covenant.org/>`_
150+
* `Rust-lang <https://www.rust-lang.org/policies/code-of-conduct>`_
151+
* `Code Fellows <https://github.com/codefellows/code-of-conduct>`_
152+
* `Python Discord <https://www.pythondiscord.com/pages/code-of-conduct/>`_
153+
154+
License
155+
-------
156+
157+
All content of this page is licensed under a Creative Commons Attributions license.
158+
159+
For more information about this license, see: <https://creativecommons.org/licenses/by/3.0/>

0 commit comments

Comments
 (0)