-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from KnpLabs/doc/add-documentation
Add documentation
- Loading branch information
Showing
4 changed files
with
274 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to make participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, sex characteristics, gender identity and expression, | ||
level of experience, education, socio-economic status, nationality, personal | ||
appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers 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, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all project spaces, and it also applies when | ||
an individual is representing the project or its community in public spaces. | ||
Examples of representing a project or community include using an official | ||
project e-mail address, posting via an official social media account, or acting | ||
as an appointed representative at an online or offline event. Representation of | ||
a project may be further defined and clarified by project maintainers. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
## Contact | ||
If you have any questions or feedback, [please ping us](https://twitter.com/KNPLabs) ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
|
||
# Thanks for contributing! | ||
|
||
:+1: First of all, thanks for contributing! The team is happy to help if you | ||
have any questions. :feet: | ||
The following is a set of guidelines for contributing to the server-side-renderer | ||
repository, which is hosted by the [KNP Labs Organization](https://github.com/KnpLabs) | ||
on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose | ||
changes to this document opening a pull request. :shipit: | ||
|
||
## Code of Conduct | ||
|
||
This project and everyone participating in it is governed by the following | ||
[Code of Conduct](https://github.com/KnpLabs/server-side-renderer/blob/master/CODE_OF_CONDUCT.md). | ||
By participating, you are expected to uphold this code. | ||
|
||
## Reporting a bug | ||
|
||
#### Before submitting a bug | ||
- Verify that you are using the latest server-side-renderer version; | ||
- Double-check the [documentation](https://github.com/KnpLabs/server-side-renderer/blob/master/README.md) | ||
to see if you're not misusing the library; | ||
- Check if the issue has already been reported. If it has, and the issue is still | ||
open, add a comment to the existing issue instead of opening a new one. | ||
|
||
#### How to submit a (good) bug report | ||
To report a server-side-renderer bug please open a [GitHub issue](https://github.com/KnpLabs/server-side-renderer/issues) | ||
following the rules below. | ||
|
||
- Use a clear and descriptive title for the issue to identify the problem; | ||
- Describe the steps needed to reproduce the bug including a code example when | ||
possible; | ||
- Give as much detail as possible about your environment (version, configuration, context, ...); | ||
|
||
## Suggesting enhancements | ||
|
||
To suggest enhancements please open a [GitHub issue](https://github.com/KnpLabs/server-side-renderer/issues) | ||
following the rules below. | ||
|
||
- Use a clear and descriptive title for the issue to identify the problem; | ||
- Provide a step-by-step description of the suggested enhancement in as many | ||
details as possible; | ||
- Explain why this enhancement would be useful with one or more use cases; | ||
|
||
## Contributing to the code | ||
|
||
A pull request, is the best way to provide a bug fix or to propose enhancements to this repository. | ||
|
||
When submitting a pull request please be sure to follow the same rules described | ||
above in [Reporting a bug](#reporting-a-bug) and [Suggesting enhancements](#suggesting-enhancements) | ||
sections depending on the nature of your change. | ||
|
||
> Before starting to work on a large change please open an issue to ask the | ||
maintainers if they are fine with it (no one likes to work for nothing!). | ||
|
||
1. Fork the repository | ||
2. Once the repository has been forked clone it locally | ||
``` | ||
git clone [email protected]:USERNAME/server-side-renderer.git | ||
``` | ||
3. Create a new branch | ||
``` | ||
git checkout -b BRANCH_NAME master | ||
``` | ||
4. Code!!! | ||
5. Add/Update tests (if needed) | ||
6. Update documentation (if needed) | ||
7. Run the tests and make sure that they are passing | ||
``` | ||
make test | ||
``` | ||
8. Fix code style issues | ||
``` | ||
make fix-js | ||
``` | ||
9. Squash your commits | ||
10. Rebase your branch on master and fix merge conflicts | ||
11. Open the pull request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2021 KNPLabs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters