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

Links in Parameters section don't work

Open ademuri opened this issue 11 months ago • 1 comments

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Linux

Web browser and version

Google Chrome 131.0.6778.204 (Official Build) (64-bit)

Actual Behavior

I believe that links in the Reference are auto-generated from the Javascript comments. Links in the description of the function work, but links in the Parameters section do not.

For example, on the Text page:

  • First link to rectMode(), in the description, correctly links to: https://p5js.org/reference/p5/rectMode/
  • Last link to rectMode(), in the Parameters, incorrectly links to: https://p5js.org/reference/p5/text/#/p5/rectMode. This causes nothing to happen (invalid anchor link).

Expected Behavior

Links in the Parameters section should correctly link to other pages, as in the rest of the reference page.

Steps to reproduce

No response

Would you like to work on the issue?

Sure, I can work on this if someone can point me to where this is configured or generated

ademuri avatar Jan 07 '25 20:01 ademuri

Similar to #676; this link slipped by the checker in #527

wong-justin avatar Jan 15 '25 05:01 wong-justin