|
| 1 | +# Contributing to Create HTML5 Boilerplate |
| 2 | + |
| 3 | +Please take a moment to review this document in order to make the contribution |
| 4 | +process easy and effective for everyone involved. |
| 5 | + |
| 6 | +Following these guidelines helps to communicate that you respect the time of |
| 7 | +the developers managing and developing this open source project. In return, |
| 8 | +they should reciprocate that respect in addressing your issue or assessing |
| 9 | +patches and features. |
| 10 | + |
| 11 | +## Using the issue tracker |
| 12 | + |
| 13 | +The [issue tracker](https://github.com/h5bp/create-html5-boilerplate/issues) is |
| 14 | +the preferred channel for [bug reports](#bugs), [features requests](#features) |
| 15 | +and [submitting pull requests](#pull-requests), but please respect the following |
| 16 | +restrictions: |
| 17 | + |
| 18 | +- Please **do not** use the issue tracker for personal support requests (use |
| 19 | + [Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate)). |
| 20 | + |
| 21 | +- Please **do not** derail or troll issues. Keep the discussion on topic and |
| 22 | + respect the opinions of others. |
| 23 | + |
| 24 | +## Bug reports |
| 25 | + |
| 26 | +A bug is a _demonstrable problem_ that is caused by the code in the repository. |
| 27 | +Good bug reports are extremely helpful - thank you! |
| 28 | + |
| 29 | +Guidelines for bug reports: |
| 30 | + |
| 31 | +1. **Use the GitHub issue search** — check if the issue has already been |
| 32 | + reported. |
| 33 | + |
| 34 | +2. **Check if the issue has been fixed** — try to reproduce it using the |
| 35 | + latest `master` or development branch in the repository. |
| 36 | + |
| 37 | +3. **Isolate the problem** — ideally create a [reduced test |
| 38 | + case](https://css-tricks.com/reduced-test-cases/) and a live example. |
| 39 | + |
| 40 | +A good bug report shouldn't leave others needing to chase you up for more |
| 41 | +information. Please try to be as detailed as possible in your report. What is |
| 42 | +your environment? What steps will reproduce the issue? What browser(s) and OS |
| 43 | +experience the problem? What would you expect to be the outcome? All these |
| 44 | +details will help people to fix any potential bugs. |
| 45 | + |
| 46 | +Example: |
| 47 | + |
| 48 | +> Short and descriptive example bug report title |
| 49 | +> |
| 50 | +> A summary of the issue and the browser/OS environment in which it occurs. If |
| 51 | +> suitable, include the steps required to reproduce the bug. |
| 52 | +> |
| 53 | +> 1. This is the first step |
| 54 | +> 2. This is the second step |
| 55 | +> 3. Further steps, etc. |
| 56 | +> |
| 57 | +> `<url>` - a link to the reduced test case |
| 58 | +> |
| 59 | +> Any other information you want to share that is relevant to the issue being |
| 60 | +> reported. This might include the lines of code that you have identified as |
| 61 | +> causing the bug, and potential solutions (and your opinions on their |
| 62 | +> merits). |
| 63 | +
|
| 64 | +## Feature requests |
| 65 | + |
| 66 | +Feature requests are welcome. But take a moment to find out whether your idea |
| 67 | +fits with the scope and aims of the project. It's up to _you_ to make a strong |
| 68 | +case to convince the project's developers of the merits of this feature. Please |
| 69 | +provide as much detail and context as possible. |
| 70 | + |
| 71 | +## Pull requests |
| 72 | + |
| 73 | +Good pull requests - patches, improvements, new features - are a fantastic |
| 74 | +help. They should remain focused in scope and avoid containing unrelated |
| 75 | +commits. |
| 76 | + |
| 77 | +**Please ask first** before embarking on any significant pull request (e.g. |
| 78 | +implementing features, refactoring code, porting to a different language), |
| 79 | +otherwise you risk spending a lot of time working on something that the |
| 80 | +project's developers might not want to merge into the project. |
| 81 | + |
| 82 | +Please adhere to the coding conventions used throughout a project (indentation, |
| 83 | +accurate comments, etc.) and any other requirements (such as test coverage). |
| 84 | + |
| 85 | +**IMPORTANT**: By submitting a patch, you agree to allow the project |
| 86 | +owners to license your work under the terms of the [MIT License](LICENSE.txt). |
0 commit comments