processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
19 stars 89 forks source link

404 error when looking up references for WEBGL, WEBGL2 #485

Closed GenericMale1 closed 3 months ago

GenericMale1 commented 3 months ago

Most appropriate sections of the p5.js website?

Other (specify if possible)

What is your operating system?

Mac OS

Web browser and version

Safari Version 17.6 (19618.3.11.11.5)

Actual Behavior

when you use the search function to look up references or go through the reference list for either of the two, and on links to examples, you reach a 404 page.

https://github.com/user-attachments/assets/8eb3fed4-eaba-4bae-82a5-10fab8aeb93b

Expected Behavior

well, the reference page

Steps to reproduce

No response

Would you like to work on the issue?

no

mayaarguelles commented 3 months ago

Hi, would it be alright to work on this? I think I see what's causing this, which is the logic that removes 'constants/' or 'types/' from the path that gets applied in the router not getting applied in the search indices build script.

stalgiag commented 3 months ago

Hi, would it be alright to work on this? I think I see what's causing this, which is the logic that removes 'constants/' or 'types/' from the path that gets applied in the router not getting applied in the search indices build script.

@mayaarguelles yep that's probably the culprit. You are definitely welcome to take it on! Let me know if you need any help.

GenericMale1 commented 3 months ago

heyhey, turns out the issue persists with the old version of the website as well, I am so confused as to what is going on?