2020-11-18 06:56:59 -05:00
# Contributing to HedgeDoc
2016-09-27 13:39:44 -04:00
2020-11-18 07:31:20 -05:00
HedgeDoc is a volunteer effort.
We encourage you to pitch in and to help us making this project even better!
2016-09-27 13:39:44 -04:00
2020-11-18 09:45:14 -05:00
Please note we have a [code of conduct][code-of-conduct], please respect it in all your
2019-03-31 19:26:36 -04:00
interactions with the project.
2016-09-27 13:39:44 -04:00
2020-11-18 06:56:59 -05:00
## Ways of contributing
### Do you have questions about the project?
2020-07-01 05:52:17 -04:00
2020-11-18 16:33:25 -05:00
* Feel free to post your question on our [community forum][community-forum] or join our [matrix community chat][matrix-support].
2020-07-01 05:52:17 -04:00
2020-11-18 06:56:59 -05:00
### Did you find a bug?
2020-07-01 05:52:17 -04:00
2020-11-18 16:33:25 -05:00
* **Ensure the bug wasn't already reported** by searching on GitHub under [Issues][issues].
2020-07-01 05:52:17 -04:00
2020-11-18 16:33:25 -05:00
* If you're unable to find an open issue addressing the problem, [open a new one][new_issue]. Be sure to use one of the templates we provide if your request applies to them.
2020-07-01 05:52:17 -04:00
2020-11-18 06:56:59 -05:00
### Did you write a patch that fixes a bug?
2016-09-27 13:39:44 -04:00
2020-11-18 06:56:59 -05:00
* Open a new GitHub pull request with the patch. See the section [submitting a pull request ](#submitting-a-pull-request ) for details on this.
* Ensure the PR description is precise about the problem and your solution. Just fill out our template. That should cover the most important information.
### Do you intend to add a new feature or change an existing one?
* Suggest your idea via a new GitHub issue. After a confirmation about your idea, you can start writing code. Our maintainers and other project developers can provide useful details about the architecture and show you relevant issues and discussions.
### Do you want to work on translations?
2020-11-18 16:33:25 -05:00
* If you want to improve a translation or add a new translation altogether, we handle those via [POEditor][poeditor].
2020-11-18 06:56:59 -05:00
## Certificate of Origin
By contributing to this project you agree to the [Developer Certificate of
2021-01-22 11:06:07 -05:00
Origin (DCO)](docs/content/legal/developer-certificate-of-origin.txt). This document was created by the Linux Kernel community and is a
2020-11-18 06:56:59 -05:00
simple statement that you, as a contributor, have the legal right to make the
contribution.
2021-01-22 11:06:07 -05:00
The DCO is a legally binding statement, please [read it carefully ](docs/content/legal/developer-certificate-of-origin.txt ).
2017-10-11 13:44:55 -04:00
If you can certify it, then just add a line to every git commit message:
2020-11-18 06:56:59 -05:00
```
2020-11-18 09:45:14 -05:00
Signed-off-by: Jane Doe < jane.doe @ example . org >
2020-07-01 05:52:17 -04:00
```
2017-10-11 13:44:55 -04:00
Use your real name (sorry, no pseudonyms or anonymous contributions).
2020-11-18 06:56:59 -05:00
If you set your `user.name` and `user.email` git configs, you can sign your commit automatically with `git commit -s` .
You can also use git [aliases ](https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases ) like `git config --global alias.ci 'commit -s'` .
Now you can commit with `git ci` and the commit will be signed.
## Submitting a Pull Request
1. Submit an issue describing your proposed change.
2020-11-18 09:45:14 -05:00
We will try to respond to your issue as soon as possible.
2020-11-18 06:56:59 -05:00
2. Fork this repo, develop and test your code changes. Ensure you signed all your commits (see above for details).
3. Submit a pull request against this repo's `master` branch.
4. Your branch may be merged once all configured checks pass.
[code-of-conduct]: ./CODE-OF-CONDUCT.md
[community-forum]: https://community.hedgedoc.org
2020-11-18 13:36:35 -05:00
[matrix-support]: https://chat.hedgedoc.org
2020-11-18 06:56:59 -05:00
[issues]: https://github.com/hedgedoc/hedgedoc/issues
[new_issue]: https://github.com/hedgedoc/hedgedoc/issues/new/choose
[poeditor]: https://translate.hedgedoc.org