prevent double-slash in asset paths (//assets/ --> /assets/)
Resolves #912
I also build the reference again in the website, and commited the regenerated MDX, and included those files in the PR as well.
Hi @perminder-17 , thanks for this, it looks good. OK to merge!
Not sure if you've come across it, but FYI there's a related, but not quite duplicate (on main not 2.0, and about absolute not relative links), is https://github.com/processing/p5.js-website/issues/878 (see also the comment on that PR)
Not sure if you've come across it, but FYI there's a related, but not quite duplicate (on main not 2.0, and about absolute not relative links), is https://github.com/processing/p5.js-website/issues/878 (see also the https://github.com/processing/p5.js-website/pull/892#issuecomment-3133005718)
Just added a comment on that, https://github.com/processing/p5.js-website/pull/892#issuecomment-3176768307 Looks like I found the issue contributor was facing. I can probably help her out :)
hey @ksen0, just noticed this again in the reference, anything else we need to do here before merging?