|
8 | 8 | Woot woot! If you are new to stdlib, welcome! And thanks for your interest! While this guide focuses on technical development, if you are looking to contribute to the project but are non-technical, you can still contribute! For example, you can contribute by filing issues, writing RFCs (feature requests), updating documentation, providing build and infrastructure support, offering [funding][patreon], and helping market and promote the project, among other things. Every bit helps, and we are grateful for your time and effort! |
9 | 9 |
|
10 | 10 |
|
11 | | -## Contributing |
| 11 | +## Code of Conduct |
12 | 12 |
|
13 | | -Before contributing, be sure to |
| 13 | +__Before__ contributing, read the [Code of Conduct][stdlib-code-of-conduct], which details the *bare minimum* behavior expectations that the project requires of its contributors. |
| 14 | + |
| 15 | + |
| 16 | +## Contributions |
| 17 | + |
| 18 | +### Issues |
| 19 | + |
| 20 | +When filing new issues and commenting on existing issues on this repository, please ensure that discussions are related to concrete technical issues. For general questions and help, consult the [FAQ][stdlib-faq] and visit the [Gitter][stdlib-gitter] channel. |
| 21 | + |
| 22 | +Before filing a potential bug report, |
| 23 | + |
| 24 | +* Search for existing issues and pull requests. |
| 25 | +* Try some debugging techniques to help isolate the problem, including logging inputs and outputs. |
| 26 | + |
| 27 | +If the source of the problem is a third party package, file a bug report with the relevant package author, rather than here. |
| 28 | + |
| 29 | +When filing an issue, provide the following, where possible: |
| 30 | + |
| 31 | +* A description of the issue. |
| 32 | +* Links to any related issues. |
| 33 | +* The full error message, including the stacktrace. |
| 34 | +* The sequence of steps required to reproduce the issue. |
| 35 | +* A minimal working example; i.e., the smallest chunk of code that triggers the error. Ideally, the code can be pasted into a REPL or run from a source file. If the code is larger than `50` lines, consider creating a [gist][github-gist]. |
| 36 | +* The expected results. |
| 37 | +* List of affected environments; e.g., browser, browser version, `npm` version, Node.js version, operating system, and stdlib version. |
| 38 | + |
| 39 | +When pasting code blocks or output, use triple backticks to enable proper formatting. Surround inline code with single backticks. For other Markdown formatting tips and trips, see GitHub's [Markdown guide][github-markdown-guide]. |
| 40 | + |
| 41 | +Be aware that the `@` symbol tags users on GitHub, so __always__ surround package names with backticks (e.g., `@stdlib/utils/copy`). |
| 42 | + |
| 43 | + |
| 44 | +## Code |
| 45 | + |
| 46 | +Before contributing code, be sure to |
14 | 47 |
|
15 | | -* read and understand the [Code of Conduct][stdlib-code-of-conduct]. |
16 | 48 | * read and understand the [licensing terms][stdlib-license]. |
17 | 49 | * read and understand the [style guides][stdlib-style-guides]. |
18 | 50 |
|
@@ -67,10 +99,15 @@ Phew. While the above may be a lot to remember, even for what seem like minor ch |
67 | 99 | [stdlib-style-guides]: https://github.com/stdlib-js/stdlib/blob/develop/docs/style-guides |
68 | 100 | [stdlib-development]: https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md |
69 | 101 | [stdlib-docs]: https://github.com/stdlib-js/stdlib/blob/develop/docs |
| 102 | +[stdlib-faq]: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md |
| 103 | + |
| 104 | +[stdlib-gitter]: https://gitter.im/stdlib-js/stdlib |
70 | 105 |
|
71 | 106 | [patreon]: https://www.patreon.com/athan |
72 | 107 |
|
73 | 108 | [github-pull-request]: https://help.github.com/articles/creating-a-pull-request/ |
| 109 | +[github-gist]: https://gist.github.com/ |
| 110 | +[github-markdown-guide]: https://guides.github.com/features/mastering-markdown/ |
74 | 111 |
|
75 | 112 | [git-rebase]: https://git-scm.com/docs/git-rebase |
76 | 113 | [git-merge]: https://git-scm.com/docs/git-merge |
|
0 commit comments