You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -154,7 +153,7 @@ For feature enhancement proposals to be accepted they must be approved by at lea
154
153
155
154
This template should be used if you wish to propose a new feature to be added to p5.js. For example to add support for drawing native HTML `<table>` elements with a new `createTable` function. Some proposals may overlap with existing feature enhancement proposals, in these cases you should just choose whichever template you feel is most appropriate.
156
155
157
-
Accordingly, the template form fields are nearly identical to the field of the "Existing Feature Enhancement." As such please see the [previous section](#existing-feature-enchancement) for details about how to fill in each field.
156
+
Accordingly, the template form fields are nearly identical to the field of the "Existing Feature Enhancement." As such please see the [previous section](#existing-feature-enhancement) for details about how to fill in each field.
158
157
159
158
For new feature request proposals to be accepted, they must be approved by at least 2 [area stewards or maintainers](https://github.com/processing/p5.js#stewards) before work can begin on a pull request.
160
159
@@ -190,7 +189,7 @@ Similarly, you should work at your own pace and be confident that there is no ha
190
189
191
190
## Quick Get Started For Developers
192
191
193
-
If you want to work/contribute to p5.js'🌸 codebase as a developer, either directly for improving p5.js or for improving its sub-projects like [Friendly Error Systems](.https://github.com/processing/p5.js/blob/main/contributor_docs/friendly_error_system/), you can follow the following steps:
192
+
If you want to work/contribute to p5.js'🌸 codebase as a developer, either directly for improving p5.js or for improving its sub-projects like [Friendly Error Systems](../friendly_error_system/), you can follow the following steps:
194
193
195
194
1.[Create a fork of p5.js.](https://docs.github.com/en/get-started/quickstart/fork-a-repo)
196
195
2.[Clone your created fork to your computer.](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
@@ -373,7 +372,7 @@ If you are going to work on unit tests, please see [here](../unit_testing/). Not
373
372
374
373
### Inline documentation
375
374
376
-
If you are going to work on the inline documentation, as known as p5.js reference, please see [here](../contributing_to_the_p5.js_reference/).
375
+
If you are going to work on the inline documentation, as known as p5.js reference, please see [here](../contributing_to_the_p5js_reference/).
**Examples are great, too!** They show people what your library can do. Because this is all JavaScript, people can see them running online before they download anything.[](http://jsfiddle.net/) You can create a collection of examples on the p5.js web editor to showcase how your library works.
308
308
309
-
**Let us know!** Once your library is ready for distribution, send an email to [[email protected]](mailto:[email protected]) with a link and some info. We'll include it on the [libraries page](http://p5js.org/libraries/)! If you have created a library and would like to have it included on the [p5js.org/libraries](https://p5js.org/libraries) page, please fill in[this form](https://docs.google.com/forms/d/e/1FAIpQLSdWWb95cfvosaIFI7msA7XC5zOEVsNruaA5klN1jH95ESJVcw/viewform).
309
+
**Submit your library!** Once your library is ready for distributionand you’d like it included on the [p5js.org/libraries](https://p5js.org/libraries) page, please submit a pull request on the p5.js website GitHub repository following[this intruction](.https://github.com/processing/p5.js-website/blob/main/docs/contributing_libraries/)!
Copy file name to clipboardExpand all lines: src/content/contributor-docs/en/documentation_style_guide.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ We use YUIDoc to generate the p5.js API documentation. To generate the docs, nav
58
58
$ npm run grunt yui:dev
59
59
```
60
60
61
-
The output will appear in docs/reference. Refer to the [inline documentation guide](.https://github.com/processing/p5.js/blob/main/contributor_docs/contributing_to_the_p5.js_reference/) for more information.
61
+
The output will appear in docs/reference. Refer to the [inline documentation guide](../contributing_to_the_p5js_reference/) for more information.
Copy file name to clipboardExpand all lines: src/content/contributor-docs/en/how-to-add-friendly-error-messages.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Before we begin, identify which one of the following cases describes your case b
31
31
32
32
### Step 1 – Double-check your inline documentation
33
33
34
-
First, ensure your method has [inline documentation](.https://github.com/processing/p5.js/blob/main/contributor_docs/contributing_to_the_p5.js_reference/) with the full list of your parameters.
34
+
First, ensure your method has [inline documentation](../contributing_to_the_p5js_reference/) with the full list of your parameters.
35
35
36
36
For example, the `circle()` method has the following inline documentation that starts with a description of the method, followed by a parameter list, and then code for an example:
37
37
@@ -274,7 +274,7 @@ The above parameter validation message will be shown in Korean if the browser is
274
274
Please consider adding unit tests for your new FE messages to detect bugs early and to ensure your code is delivering intended messages to our users. Also, unit tests are a good way to make sure other contributor’s new code does not accidentally break or interfere with the functionality of your code. Here are a few good guides on unit testing:
275
275
276
276
*[Unit Testing and Test Driven Development](https://docs.google.com/document/d/1iw60L1abRJZDn1zUViO9A0j6Fco4yFoQ9LXIlEEroN8/edit?usp=sharing) by Andy Timmons
277
-
*[Contributors Doc: Unit Testing](.https://github.com/processing/p5.js/blob/main/contributor_docs/unit_testing/)
277
+
*[Contributors Doc: Unit Testing](../unit_testing/)
278
278
279
279
Example:
280
280
@@ -301,4 +301,4 @@ Additionally, we are excited to share insights from our community through the FE
* [21-22 FES Survey Full Report](https://observablehq.com/@almchung/p5-fes-21-survey)
303
303
304
-
For more in-depth information about the design and technical aspects of FES, please refer to the [FES README document](.https://github.com/processing/p5.js/blob/main/contributor_docs/friendly_error_system/). This document provides detailed explanations and development notes, which are beneficial for those seeking a deeper understanding of FES.
304
+
For more in-depth information about the design and technical aspects of FES, please refer to the [FES README document](../friendly_error_system/). This document provides detailed explanations and development notes, which are beneficial for those seeking a deeper understanding of FES.
@@ -90,7 +90,7 @@ Feature request issues should use the "New Feature Request" issue template. The
90
90
91
91
Feature enhancement issues should use the "Existing Feature Enhancement" issue template. The process is very similar to new feature requests. The difference between a new feature request and feature enhancement can be blurry sometimes. Feature enhancement mainly deals with existing functions of p5.js while a new feature request could be requesting entirely new functions to be added.
92
92
93
-
1. Similar to new feature requests, feature enhancement should only be accepted if they increase access to p5.js. Please see point 1 of [section above](steward_guidelines.md#feature-request).
93
+
1. Similar to new feature requests, feature enhancement should only be accepted if they increase access to p5.js. Please see point 1 of [section above](#feature-request).
94
94
2. Inclusion criteria for feature enhancements are similar to those for feature requests, but particular attention should be paid to potential breaking changes.
95
95
* If modifying existing functions, all previous valid and documented function signatures must behave in the same way.
96
96
3. Feature enhancements must be approved by at least one steward or maintainer before work should begin toward a PR. The PR review process for feature enhancement is documented below.
@@ -110,7 +110,7 @@ This type of issue has a minimal template ("Discussion") and should be used to g
110
110
Almost all code contributions to the p5.js repositories happen through pull requests. Stewards and maintainers may have push access to the repositories but are still encouraged to follow the same issue > PR > review process when contributing code. Here are the steps to review a PR:
111
111
112
112
* Pull request template can be found [here](.https://github.com/processing/p5.js/blob/main/.github/PULL_REQUEST_TEMPLATE/).
113
-
* Almost all pull requests must have associated issues opened and discussed first, meaning the relevant [issue workflow](steward_guidelines.md#issues) must have been followed first before a PR should be reviewed by any steward or maintainer.
113
+
* Almost all pull requests must have associated issues opened and discussed first, meaning the relevant [issue workflow](#issues) must have been followed first before a PR should be reviewed by any steward or maintainer.
114
114
* The only instances where this does not apply are very minor typo fixes, which do not require an open issue and can be merged by anyone with merge access to the repo, even if they are not stewards of a particular area.
115
115
* While this exception exists, we will apply it in practice only while contributors are still encouraged to open new issues first. In other words, if in doubt about whether this exception applies, just open an issue anyway.
116
116
* If a pull request does not fully solve the referenced issue, you can edit the original post and change "Resolves #OOOO" to "Addresses #OOOO" so that it does not automatically close the original issue when the PR is merged.
@@ -129,7 +129,7 @@ Simple fixes, such as a small typo fix, can be merged directly by anyone with me
129
129
130
130
2. The PR "Files Changed" tab can be used to initially review whether the fix is implemented as described in the issue discussion.
131
131
132
-
3. The PR should be tested locally whenever possible and relevant. The GitHub CLI can help streamline some of the process. (See more below in [Tips & Tricks](steward_guidelines.md#tips-tricks)).
132
+
3. The PR should be tested locally whenever possible and relevant. The GitHub CLI can help streamline some of the process. (See more below in [Tips & Tricks](#tips-tricks)).
133
133
*[ ] The fix should address the original issue sufficiently.
134
134
*[ ] The fix should not change any existing behaviors unless agreed upon in the original issue.
135
135
*[ ] The fix should not have a significant performance impact on p5.js.
@@ -322,13 +322,13 @@ Below are some of the Saved Replies that are being used by p5.js maintainers. Yo
322
322
323
323
##### Closing: Access
324
324
325
-
> I'm not seeing a lot of interest in this feature, and we don't have a clear explanation of how it [expands access](.access/), so I will close this for now. If an access statement can be added to the issue request, please feel welcome to reopen.
325
+
> I'm not seeing a lot of interest in this feature, and we don't have a clear explanation of how it [expands access](../access/), so I will close this for now. If an access statement can be added to the issue request, please feel welcome to reopen.
326
326
327
-
> We do not see a further explanation of how this issue [expands access](.access/), so I will close this issue for now. If a more detailed access statement can be added to the feature request, please feel welcome to reopen it. Thank you!
327
+
> We do not see a further explanation of how this issue [expands access](../access/), so I will close this issue for now. If a more detailed access statement can be added to the feature request, please feel welcome to reopen it. Thank you!
328
328
329
329
##### Closing: Addon
330
330
331
-
> I think this function is beyond the scope of the p5.js API (we try to keep it as minimal as possible), but it could be a great starting point for an addon library. See the docs here for how to create an addon: [https://github.com/processing/p5.js/blob/main/contributor\_docs/creating\_libraries.md](.creating_libraries/)
331
+
> I think this function is beyond the scope of the p5.js API (we try to keep it as minimal as possible), but it could be a great starting point for an addon library. See the docs here for how to create an addon: [Creating an Addon Library](../creating_libraries/)
0 commit comments