Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Boothe <git@rootwork.org>2022-07-31 06:09:26 +0300
committerIvan Boothe <git@rootwork.org>2022-07-31 06:09:26 +0300
commitbfbf0e0ba3506461ffd21dbca9f854b667f6511f (patch)
tree4efcec2d87b864b21df4ab01cd3489be86e73afc
parentad925df40d2ae3b272ebbb410ef1bf4a30e7f1b1 (diff)
Adding contributor guidelines
-rw-r--r--CONTRIBUTING.md107
1 files changed, 107 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..df5e9d5
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,107 @@
+# Contributing to Hugo Clarity
+
+Thank you for taking the time to contribute!
+
+Hugo Clarity is open-source, and contributions are what make the open-source
+community such an amazing place to learn, inspire, and create. Any contributions
+you make will benefit everybody else and are **greatly appreciated**!
+
+When contributing, especially for the first time, consider starting by
+[creating an issue](https://github.com/chipzoller/hugo-clarity/issues/new) so
+you can get feedback from the maintainers and avoid unncessary work.
+
+**Note:** Hugo Clarity has a [code of conduct](CODE_OF_CONDUCT.md).
+Please follow it in all your interactions with the project.
+
+## Getting support and asking questions
+
+If you have questions about the project, are encountering something and aren't
+sure if it's a bug, or if you'd like to discuss an idea before filing a feature
+request, please use
+[GitHub Discussions](https://github.com/chipzoller/hugo-clarity/discussions)
+rather than posting an issue.
+
+## Filing issues and requesting features
+
+You've found a bug in the source code, a mistake in the documentation or maybe
+you'd like a new feature? You can help us by
+[submitting an issue](https://github.com/chipzoller/hugo-clarity/issues).
+Before you create an issue, make sure to search the issue archive -- your issue
+may have already been addressed!
+
+Once a bug has been confirmed or a feature has been approved, you are welcome
+to [submit a Pull Request](#submit-a-pull-request) -- if you have the solution,
+please do tell us about it!
+
+### Helping us fix bugs
+
+We want to help you solve any problems you might be facing with the theme! In
+order to help us help you, create bug reports that are:
+
+- _Reproducible._ Include steps to reproduce the problem.
+- _Specific._ Include as much detail as possible: which version, what
+ environment, etc.
+- _Unique._ If other bug reports already exist about the same issue, add to
+ them rather than creating a new one.
+- _Scoped to a single bug._ One bug per report. We know this might be a little
+ tedious, but it makes it *much* easier to keep track of which bugs are fixed
+ and which still need work to be done.
+
+## How to submit a Pull Request
+
+1. Search our repository for open or closed
+ [Pull Requests](https://github.com/chipzoller/hugo-clarity/pulls) that
+ relate to your issue. You don't want to duplicate effort, and if one already
+ exists you can collaborate on that.
+
+2. Ensure that you plan to work consistent with the
+ [Developer Certificate of Origin](https://developercertificate.org/). This
+ confirms to us that you have the right to submit your contribution to an
+ open-source project (i.e. it is not proprietary or trade-secret code) and
+ that the record of your contribution will be recorded. **This is required
+ in order to contribute to Hugo Clarity**, and you'll need to confirm your
+ consent in the final steps below.
+
+3. Clone the project using [Gitpod](https://github.com/chipzoller/hugo-clarity#option-1a-development-in-the-browser)
+ or [locally on your machine](https://github.com/chipzoller/hugo-clarity#option-1b-development-on-your-machine)
+
+4. Create a new branch:
+
+ ```sh
+ git checkout -b amazing_feature
+ ```
+
+5. Do your work.
+
+6. Commit your changes:
+
+ ```sh
+ git commit -s -m 'Adding an amazing new feature'
+ ```
+
+ The `-s` flag is the short form of `--signoff` and signals to us that you are
+ abiding by the Developer Certificate of Origin (see step 2, above).
+
+ If you are in an environment in which you cannot provide this cryptographic
+ signoff (for instance, Gitpod) you will need to leave a comment on the PR you
+ submit confirming that you certify compliance with the DCO.
+
+6. Repeat steps 5-6 as necessary.
+
+7. Unless your PR is documentation-only, **test your work
+ [using Hugo extended](https://github.com/chipzoller/hugo-clarity#prerequisites)
+ to build a site.** When you submit your PR we'll run test-builds of a Hugo
+ site with your PR applied, so you'll save time if you fix any build issues
+ before submitting.
+
+8. Push the branch:
+
+ ```sh
+ git push origin amazing_feature
+ ```
+
+9. [Open a Pull Request](https://github.com/chipzoller/hugo-clarity/compare?expand=1)
+ and wait for feedback. Filling out the PR as requested will ensure your work
+ gets reviewed by maintainers promptly.
+
+## 🎉 **Thank you for your contribution!**