p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

p5.js 2.x reference pages for p5.sound functions link to wrong repository

Open sidwellr opened this issue 1 month ago • 2 comments

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Linux

Web browser and version

Brave 1.83.112

Actual Behavior

Reference pages have a link to the source where the reference is embedded at the end. For example, https://beta.p5js.org/reference/p5.sound/p5.oscillator/ has the text "Please feel free to edit src/sources/Oscillator.js and open a pull request!" But for version 2 p5.sound pages, the link points to the p5.js repository (https://github.com/processing/p5.js/blob/v2.1.1/src/sources/Oscillator.js#L10 in this example), which gives a "Page not found" error. This appears to be the case for all p5.sound reference pages.

Expected Behavior

Links from version 2 p5.sound pages should point to the p5.sound.js repository (https://github.com/processing/p5.sound.js/blob/main/src/sources/Oscillator.js in this example).

Steps to reproduce

Go to https://beta.p5js.org/reference/p5.sound/p5.oscillator/, scroll to the bottom, and click the src/sources/Oscillator.js link. Observe that it links to a non-existent page.

Would you like to work on the issue?

No

sidwellr avatar Nov 16 '25 05:11 sidwellr

I want to work on this issue. Please assign it to me.

Pratik5252 avatar Nov 16 '25 06:11 Pratik5252

I would apprecitate it if i get a chance to work on this issue.

Om-Tubachi avatar Dec 09 '25 19:12 Om-Tubachi