You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the recent update to the p5.js website, existing links to the reference pages have broken due to the URL structure change. Links that previously followed the format e.g. https://p5js.org/reference/#/p5/image now need to point to: https://p5js.org/reference/p5/image/.
This change has caused many links to the p5.js reference documentation across various online materials to break. Updating all of these links across the internet is unrealistic, and they remain inaccessible to users.
Some error messages in the editor contain links to the reference, which are now broken. For example:
Since it only requires removing the /#/ from the URLs, I hope it might be a straightforward change.
Suggestions:
Implement a redirect from https://p5js.org/reference/#/p5/* to https://p5js.org/reference/p5/* on the server / host config.
Add script to handle it (or resolver script to handle unmatched routes).
Overall, I appreciate the improvements to the site after the update. Apologies for not opening a PR myself—I’m not familiar with Astro, but I’d be happy to assist with testing or other support if needed.
Expected Behavior
Links to reference pages, both in online materials and editor error messages, should work as before, directing users to the correct reference documentation without broken URLs.
Steps to reproduce
https://p5js.org/reference/#/p5/image should redirect to -> https://p5js.org/reference/p5/image/
Would you like to work on the issue?
yes
The text was updated successfully, but these errors were encountered:
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Mac OS
Web browser and version
No response
Actual Behavior
Since the recent update to the p5.js website, existing links to the reference pages have broken due to the URL structure change. Links that previously followed the format e.g.
https://p5js.org/reference/#/p5/image
now need to point to:https://p5js.org/reference/p5/image/
.Since it only requires removing the
/#/
from the URLs, I hope it might be a straightforward change.Suggestions:
https://p5js.org/reference/#/p5/*
tohttps://p5js.org/reference/p5/*
on the server / host config.Overall, I appreciate the improvements to the site after the update. Apologies for not opening a PR myself—I’m not familiar with Astro, but I’d be happy to assist with testing or other support if needed.
Expected Behavior
Links to reference pages, both in online materials and editor error messages, should work as before, directing users to the correct reference documentation without broken URLs.
Steps to reproduce
https://p5js.org/reference/#/p5/image
should redirect to ->https://p5js.org/reference/p5/image/
Would you like to work on the issue?
yes
The text was updated successfully, but these errors were encountered: