Skip to content

Commit b34d2dd

Browse files
committed
Merge branch '1.0.x'
2 parents 91d6e2f + 2967572 commit b34d2dd

File tree

3 files changed

+64
-9
lines changed

3 files changed

+64
-9
lines changed

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, and in the interest of fostering an open
4+
and welcoming community, we pledge to respect all people who contribute through reporting
5+
issues, posting feature requests, updating documentation, submitting pull requests or
6+
patches, and other activities.
7+
8+
We are committed to making participation in this project a harassment-free experience for
9+
everyone, regardless of level of experience, gender, gender identity and expression,
10+
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
11+
religion, or nationality.
12+
13+
Examples of unacceptable behavior by participants include:
14+
15+
* The use of sexualized language or imagery
16+
* Personal attacks
17+
* Trolling or insulting/derogatory comments
18+
* Public or private harassment
19+
* Publishing other's private information, such as physical or electronic addresses,
20+
without explicit permission
21+
* Other unethical or unprofessional conduct
22+
23+
Project maintainers have the right and responsibility to remove, edit, or reject comments,
24+
commits, code, wiki edits, issues, and other contributions that are not aligned to this
25+
Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors
26+
that they deem inappropriate, threatening, offensive, or harmful.
27+
28+
By adopting this Code of Conduct, project maintainers commit themselves to fairly and
29+
consistently applying these principles to every aspect of managing this project. Project
30+
maintainers who do not follow or enforce the Code of Conduct may be permanently removed
31+
from the project team.
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an
34+
individual is representing the project or its community.
35+
36+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
37+
contacting a project maintainer at [email protected]. All complaints will
38+
be reviewed and investigated and will result in a response that is deemed necessary and
39+
appropriate to the circumstances. Maintainers are obligated to maintain confidentiality
40+
with regard to the reporter of an incident.
41+
42+
This Code of Conduct is adapted from the [Contributor Covenant][1], version 1.3.0, available
43+
at [contributor-covenant.org/version/1/3/0/][2].
44+
45+
[1]: http://contributor-covenant.org
46+
[2]: http://contributor-covenant.org/version/1/3/0/

CONTRIBUTING.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ Spring REST Docs is released under the Apache 2.0 license. If you would like to
44
contribute something, or simply want to work with the code, this document should help you
55
to get started.
66

7+
## Code of conduct
8+
9+
This project adheres to the Contributor Covenant [code of conduct][1]. By participating,
10+
you are expected to uphold this code. Please report unacceptable behavior to
11+
12+
713
## Sign the contributor license agreement
814

915
Before we accept a non-trivial patch or pull request we will need you to sign the
10-
[contributor's license agreement (CLA)][1]. Signing the contributor's agreement does not
16+
[contributor's license agreement (CLA)][2]. Signing the contributor's agreement does not
1117
grant anyone commit rights to the main repository, but it does mean that we can accept
1218
your contributions, and you will get an author credit if we do. Please use "Andy
1319
Wilkinson" in the project lead field when you complete the form.
@@ -28,7 +34,7 @@ None of these is essential for a pull request, but they will all help
2834
- Add unit tests that covers and new or modified functionality
2935
- Whenever possible, please rebase your branch against the current master (or other
3036
target branch in the main project).
31-
* When writing a commit message please follow [these conventions][2]. Also, if you are
37+
* When writing a commit message please follow [these conventions][3]. Also, if you are
3238
fixing an existing issue please add `Fixes gh-nnn` at the end of the commit message
3339
(where nnn is the issue number).
3440

@@ -54,5 +60,6 @@ $ ./gradlew eclipse
5460
The project can then be imported into Eclipse using `File -> Import…` and then selecting
5561
`General -> Existing Projects into Workspace`.
5662

57-
[1]: https://support.springsource.com/spring_committer_signup
58-
[2]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
63+
[1]: CODE_OF_CONDUCT.md
64+
[2]: https://support.springsource.com/spring_committer_signup
65+
[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ Spring REST Docs requires Java 7 or later and is built using [Gradle][10]:
2525

2626
## Contributing
2727

28-
[Pull requests][11] are welcome. Please see the [contributor guidelines][12] for details.
28+
Contributors to this project agree to uphold its [code of conduct][11].
29+
[Pull requests][12] are welcome. Please see the [contributor guidelines][13] for details.
2930

3031
## Licence
3132

32-
Spring REST Docs is open source software released under the [Apache 2.0 license][13].
33+
Spring REST Docs is open source software released under the [Apache 2.0 license][14].
3334

3435
[1]: https://build.spring.io/plugins/servlet/buildStatusImage/SRD-PUB (Build status)
3536
[2]: https://build.spring.io/browse/SRD-PUB
@@ -41,7 +42,8 @@ Spring REST Docs is open source software released under the [Apache 2.0 license]
4142
[8]: https://www.youtube.com/watch?v=knH5ihPNiUs&feature=youtu.be
4243
[9]: http://docs.spring.io/spring-restdocs/docs/
4344
[10]: http://gradle.org
44-
[11]: https://help.github.com/articles/using-pull-requests/
45-
[12]: https://github.com/spring-projects/spring-restdocs/blob/master/CONTRIBUTING.md
46-
[13]: http://www.apache.org/licenses/LICENSE-2.0.html
45+
[11]: CODE_OF_CONDUCT.md
46+
[12]: https://help.github.com/articles/using-pull-requests/
47+
[13]: CONTRIBUTING.md
48+
[14]: http://www.apache.org/licenses/LICENSE-2.0.html
4749

0 commit comments

Comments
 (0)