Skip to content

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

@sidwellr

Description

@sidwellr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions