2023-08-14 03:50:17 +03:00
|
|
|
# Contributing Guidelines
|
2020-01-09 15:24:44 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
:tada: _First of all, thank you for considering contributing to this project!_ :tada:
|
2020-01-09 15:24:44 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug
|
|
|
|
reports and feature requests or writing code which can be incorporated into Chirpy itself.
|
2022-01-04 01:22:49 +03:00
|
|
|
|
2023-08-14 03:50:17 +03:00
|
|
|
## In This Article
|
2022-01-04 01:22:49 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- [General Rules](#general-rules)
|
2023-08-14 03:50:17 +03:00
|
|
|
- [Questions and Requests for Help](#questions-and-requests-for-help)
|
|
|
|
- [File a Bug Report](#file-a-bug-report)
|
|
|
|
- [Suggest a New Feature](#suggest-a-new-feature)
|
2023-08-17 00:24:31 +03:00
|
|
|
- [Contributing Code and Documentation Changes](#contributing-code-and-documentation-changes)
|
|
|
|
- [Helpful Resources](#helpful-resources)
|
2022-01-04 01:22:49 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## General Rules
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
All contributions should be based on the following rules:
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- You should read through the [Wiki][wiki] to understand the project features and how to use it properly. This is to
|
|
|
|
respect the time of the project's developers and
|
|
|
|
maintainers, and to save their energy for other problems that really need to be resolved.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- Use the [latest release version][latest-ver]. If your contribution involves code/documentation changes, update to the
|
|
|
|
latest version of the default (`master`) branch.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- Avoid making duplicate contributions by searching for existing [Issues][issues] / [Discussioins][discus] /
|
|
|
|
[Pull Requests][pr], but don't leave any unhelpful comments such as "I have the same problem". Prefer using
|
|
|
|
[reactions][gh-reactions] if you simply want to "+1" an existing issue.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- DO NOT email or tweet the
|
|
|
|
project developers and maintainers directly, everything about Chirpy should be left in GitHub.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
**Tips**: If you're new to open source, see "[How To Ask Questions The Smart Way][ext-reading]".
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## Questions and Requests for Help
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
We expect every reasonable question you ask to be answered appropriately. If you want a quick and timely response,
|
|
|
|
please ask questions at [Jekyll Talk][jekyll-talk] and [StackOverflow][stack-overflow], where there are tons of
|
|
|
|
enthusiastic geeks who will positively answer your challenging questions.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
If you can't get an answer in any of the above ways, then create a new [discussion][discus]. As long as it is not a
|
|
|
|
duplicate and [RTFM][rtfm] / [STFW][stfw] issue, we will respond as soon as possible.
|
2022-01-04 01:22:49 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## File a Bug Report
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate
|
|
|
|
a well-written, thorough bug report.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
1. Please figure out why the bug occurred, or locate the module in the project that caused this bug. Otherwise, there is
|
|
|
|
a high probability that you are using/setting it incorrectly.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
2. If the issue is caused by you modifying the project code or some configuration of Jekyll, then please DO NOT
|
|
|
|
report such "bugs".
|
|
|
|
Chirpy is an open-source project, but that doesn't mean we will maintain other specific forks (such as yours).
|
|
|
|
You can learn about Jekyll and modern Web development to solve problems caused by custom modifications.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
3. Make good use of your browser's incognito mode to troubleshoot if the problem is caused by caching.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
4. As a last option, you can create a new [Bug Report][new-issue] follow the template to describe the details.
|
|
|
|
If possible, providing a demo that reproduces the error will help us troubleshoot faster.
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## Suggest a New Feature
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted.
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
We want to avoid chaos in the UI design, so we won't accept requests for changes like color schemes, font families,
|
|
|
|
typography, and so on. **Do not open a duplicate feature request.** Search for existing feature requests first. If you
|
|
|
|
find your feature (or one very similar) previously requested, comment on that issue.
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are
|
|
|
|
welcome to submit a pull request to help!
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## Contributing Code and Documentation Changes
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
In short, you can follow these steps to complete the contribution.
|
2022-03-13 11:50:12 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
1. Fork this project on GitHub and clone your repository locally.
|
|
|
|
2. Setting up the [development & test environments][dev-env].
|
|
|
|
3. Create a new branch from the default branch and give it a descriptive name (e.g. `add-a-new-feat` or `fix-a-bug`).
|
|
|
|
When development is complete, create a [Conventional Commit][cc] with Git.
|
|
|
|
4. Create a new [Pull Request][gh-pr].
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
## Helpful Resources
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
- [Code of conduct](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/.github/CODE_OF_CONDUCT.md)
|
|
|
|
- [Security policy](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/.github/SECURITY.md)
|
2023-08-14 03:50:17 +03:00
|
|
|
|
2023-08-17 00:24:31 +03:00
|
|
|
[latest-ver]: https://github.com/cotes2020/jekyll-theme-chirpy/releases/latest
|
2023-08-14 03:50:17 +03:00
|
|
|
[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki
|
2023-08-17 00:24:31 +03:00
|
|
|
[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue
|
|
|
|
[pr]: https://github.com/cotes2020/jekyll-theme-chirpy/pulls
|
|
|
|
[discus]: https://github.com/cotes2020/jekyll-theme-chirpy/discussions
|
2023-08-14 03:50:17 +03:00
|
|
|
[ext-reading]: http://www.catb.org/~esr/faqs/smart-questions.html
|
2023-08-17 00:24:31 +03:00
|
|
|
[jekyll-talk]: https://talk.jekyllrb.com/
|
|
|
|
[stack-overflow]: https://stackoverflow.com/questions/tagged/jekyll
|
2023-08-14 03:50:17 +03:00
|
|
|
[rtfm]: https://en.wikipedia.org/wiki/RTFM
|
|
|
|
[stfw]: https://www.webster-dictionary.org/definition/STFW
|
|
|
|
[gh-reactions]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
|
2023-08-17 00:24:31 +03:00
|
|
|
[new-issue]: https://github.com/cotes2020/jekyll-theme-chirpy/issues/new/choose
|
|
|
|
[dev-env]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Development-&-Test-Environments
|
2023-03-01 03:23:08 +03:00
|
|
|
[cc]: https://www.conventionalcommits.org/
|
2023-08-14 03:50:17 +03:00
|
|
|
[gh-pr]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
|