When encountering an empty hash, the page should redirect to the same URL with 'p5' in place of the hash '#'. If a contributor wants to take this on, it could be a relatively small change. It is also possible that some unexpected complexity will be encountered and if this is the case, I'd be happy to help work through it.
Some helpful resources on redirects in Astro for anyone considering taking it on:
Increasing Access
This will increase the number of legacy links that work with the new site.
Most appropriate sub-area of p5.js?
Reference
Feature request details
Currently, Reference page URLs that have a # in the link lead to the landing reference page.
Here is an example of a link that doesn't work as desired: https://p5js.org/reference/#/p5.TypedDict Whereas on the legacy site, this led to the specific entry: https://archive.p5js.org/reference/#/p5.TypedDict The equivalent link for the new site would be: https://p5js.org/reference/p5/p5.TypedDict/
When encountering an empty hash, the page should redirect to the same URL with 'p5' in place of the hash '#'. If a contributor wants to take this on, it could be a relatively small change. It is also possible that some unexpected complexity will be encountered and if this is the case, I'd be happy to help work through it.
Some helpful resources on redirects in Astro for anyone considering taking it on: