Skip to content

Fixed the "edit source" links on p5.sound reference pages (beta.p5js.org) to point to the correct repository.#1074

Closed
Linqi1234 wants to merge 2 commits intoprocessing:2.0from
Linqi1234:2.0
Closed

Fixed the "edit source" links on p5.sound reference pages (beta.p5js.org) to point to the correct repository.#1074
Linqi1234 wants to merge 2 commits intoprocessing:2.0from
Linqi1234:2.0

Conversation

@Linqi1234
Copy link

Summary

Fixed the "edit source" links on p5.sound reference pages (beta.p5js.org) to point to the correct repository.

Problem

The source links on p5.sound reference pages were pointing to processing/p5.js, which resulted in 404 errors. For example:

  • https://github.com/processing/p5.js/blob/v2.1.2/src/sources/AudioIn.js (404)

Solution

Added a conditional check: when entry.data.module === 'p5.sound', the link now points to processing/p5.sound.js repository with the main branch:

  • https://github.com/processing/p5.sound.js/blob/main/src/sources/AudioIn.js

@Linqi1234 Linqi1234 changed the title 2.0 Fixed the "edit source" links on p5.sound reference pages (beta.p5js.org) to point to the correct repository. Jan 3, 2026
@ksen0
Copy link
Member

ksen0 commented Mar 12, 2026

Hi, I wll close this as the original problem was resolved by a different fix. Sorry this slipped through. Please note in the contributor guidelines we ask that before making an PR, each volunteer gets assigned on the issue and their approach approved. This helps to avoid accidental duplicate work. I recommend starting with issue in the future . Thanks for understanding!

@ksen0 ksen0 closed this Mar 12, 2026
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.

2 participants