Skip to content

Commit 4c18723

Browse files
committed
Create docs/CONTRIBUTING.md
1 parent 1b5ff2a commit 4c18723

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

docs/CONTRIBUTING.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Contributing to the Slate theme
2+
3+
Hi there! We're thrilled that you'd like to contribute to the Slate theme. Your help is essential for keeping it great.
4+
5+
the Slate theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into the Slate theme itself.
6+
7+
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
8+
9+
10+
11+
## How to report a bug
12+
13+
Think you found a bug? Please check [the list of open issues](https://github.com/pages-themes/slate/issues) to see if your bug has already been reported. If it hasn't please [submit a new issue](https://github.com/pages-themes/slate/issues/new).
14+
15+
Here are a few tips for writing *great* bug reports:
16+
17+
* Describe the specific problem (e.g., "widget doesn't turn clockwise" versus "getting an error")
18+
* Include the steps to reproduce the bug, what you expected to happen, and what happened instead
19+
* Check that you are using the latest version of the project and its dependencies
20+
* Include what version of the project your using, as well as any relevant dependencies
21+
* Only include one bug per issue. If you have discovered two bugs, please file two issues
22+
* Even if you don't know how to fix the bug, including a failing test may help others track it down
23+
24+
**If you find a security vulnerability, do not open an issue. Please email [email protected] instead.**
25+
26+
## How to suggest a feature or enhancement
27+
28+
If you find yourself wishing for a feature that doesn't exist in the Slate theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that the Slate theme has today have been added because our users saw the need.
29+
30+
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and goals of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible, including describing the problem you're trying to solve.
31+
32+
[Open an issue](https://github.com/pages-themes/slate/issues/new) which describes the feature you would like to see, why you want it, how it should work, etc.
33+
34+
35+
36+
## Your first contribution
37+
38+
We'd love for you to contribute to the project. Unsure where to begin contributing to the Slate theme? You can start by looking through these "good first issue" and "help wanted" issues:
39+
40+
* [Good first issues](https://github.com/pages-themes/slate/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - issues which should only require a few lines of code and a test or two
41+
* [Help wanted issues](https://github.com/pages-themes/slate/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which may be a bit more involved, but are specifically seeking community contributions
42+
43+
*p.s. Feel free to ask for help; everyone is a beginner at first* :smiley_cat:
44+
45+
## How to propose changes
46+
47+
Here's a few general guidelines for proposing changes:
48+
49+
* If you are making visual changes, include a screenshot of what the affected element looks like, both before and after.
50+
* Follow the [Jekyll style guide](https://ben.balter.com/jekyll-style-guide).
51+
* If you are changing any user-facing functionality, please be sure to update the documentation
52+
* Each pull request should implement **one** feature or bug fix. If you want to add or fix more than one thing, submit more than one pull request
53+
* Do not commit changes to files that are irrelevant to your feature or bug fix
54+
* Don't bump the version number in your pull request (it will be bumped prior to release)
55+
* Write [a good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
56+
57+
At a high level, [the process for proposing changes](https://guides.github.com/introduction/flow/) is:
58+
59+
1. [Fork](https://github.com/pages-themes/slate/fork) and clone the project
60+
2. Configure and install the dependencies: `script/bootstrap`
61+
3. Make sure the tests pass on your machine: `script/cibuild`
62+
4. Create a new branch: `git checkout -b my-branch-name`
63+
5. Make your change, add tests, and make sure the tests still pass
64+
6. Push to your fork and [submit a pull request](https://github.com/pages-themes/slate/compare)
65+
7. Pat your self on the back and wait for your pull request to be reviewed and merged
66+
67+
**Interesting in submitting your first Pull Request?** It's easy! You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
68+
69+
## Bootstrapping your local development environment
70+
71+
`script/bootstrap`
72+
73+
## Running tests
74+
75+
`script/cibuild`
76+
77+
## Code of conduct
78+
79+
This project is governed by [the Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
80+
81+
## Additional Resources
82+
83+
* [Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)
84+
* [Using Pull Requests](https://help.github.com/articles/using-pull-requests/)
85+
* [GitHub Help](https://help.github.com)

0 commit comments

Comments
 (0)