Skip to content

Conversation

@davepagurek
Copy link
Collaborator

On the current website, we accidentally have a mix of the old p5.sound + the new p5.sound docs. This is because in October we started adding the new sound docs to the reference, but the old sound docs are embedded in the p5 1.x source code, so they continued to get parsed too, leading to broken docs.

For 2.0, we're planning on having a separate site where all 2.0 reference and resources will live. This will be deployed from a separate branch of this repo, and also a separate branch of the p5 repo using something like the npm run custom:dev command where you pass in a repo + branch name. This PR makes it so the 2.0 deploy (which no longer has the p5.sound content embedded in the source code) will continue to add the new p5.sound docs to the build, and the 1.x deploy will not, including only the old p5.sound docs already embedded in those p5.js releases.

In addition to those changes, this PR also includes the result of running npm run build:reference on 1.11.3. This means that APIs that only exist in the new p5.sound get removed, and the reference for APIs that previously existed in both the old and the new p5.sound are reverted to the docs included in the old p5.sound.

There are also a few other changes I noticed from npm run build:reference; maybe we didn't run it before on 1.11.3? So there are a few minor other docs changes, such as fixed typos.

@davepagurek davepagurek merged commit b27eca9 into main Apr 10, 2025
4 checks passed
@davepagurek davepagurek deleted the p5-sound-versions branch April 10, 2025 13:29
davepagurek added a commit that referenced this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants