[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/processing/processing-website/main/docs/libraries.md [Back]  [Original]

# Libraries

The Libraries page consists of two separate pieces of content:

## Libraries

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:

1. Edit the markdown file as explained in the [markdown pages guide](/docs/markdown-pages.md)
2. If needed, edit the source code of the core library to change the function descriptions
3. If needed, run the doclet following these [instructions](https://github.com/processing/processing-doclet/blob/main/README.md) to pull in the changes from the source code
4. [Publish the website](/docs/publish.md)

## Contributions

The contributions are copied via a script from the [`processing-contributions`](https://github.com/processing/processing-contributions) repo to the `/content/contributions` folder in this repo. This is what you need to run the script:

1. Make sure that you have the `processing-contributions` repo next to this `processing-website` repo on your computer
1. Pull the latest `main` from the `processing-contributions` repository
1. 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`.

Web Proxy Viewer  |  New URL  |  Original Page