The Libraries page consists of two separate pieces of content:
Each reference for a core library is created by combining a .mdx
file (for the top text) and a set of .json
files exported directly from the source code.
To edit a core library page:
- Edit the markdown file as explained in the markdown pages guide
- If needed, edit the source code of the core library to change the function descriptions
- If needed, run the doclet following these instructions to pull in the changes from the source code
- Publish the website
The contributions are copied via a script from the processing-contributions
repo to the /content/contributions
folder in this repo. This is what you need to run the script:
- Make sure that you have the
processing-contributions
repo next to thisprocessing-website
repo on your computer - Pull the latest
master
from theprocessing-contributions
repository - From the root of this repo, run
npm run updateContributions
You should now have the updated contribution files in your repo ready to be committed. Please submit the changes as a PR to the main
branch of processing-website
.