-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Topic
Hello! I propose creating a style guide for written explanations and code snippets. My goal is to ensure that all Reference and Example pages are clear and consistent. I plan to edit the Contributing Documentation guide to include a remix of the Ruby on Rails API documentation guidelines.
Writing
I'll follow the new writing style guide as I edit documentation over the coming months. The following references will be top of mind:
- Overview: Write the Docs
- General: Red Hat Supplementary Style Guide
- Accessibility: MDN What is accessibility?
- Reducing Bias: WordPress Inclusivity
I'll use the Hemingway Editor to ensure that the documentation uses simple language.
Code
I propose following the Airbnb JavaScript Style Guide for code snippets. I also plan to use Prettier to format code so that it matches the output of the p5 Editor's "Tidy" button.
I'd love to incorporate folks' suggestions as I draft the style guide. @davepagurek @limzykenneth @Qianqianye @raclim what do y'all think about testing this idea in a couple of steps? I can start by drafting the style guide. Then we can try an example of how the guide would change the Reference pages for 2D Primitives.