Add version parameter to editor links (fixes #1036)#1165
Add version parameter to editor links (fixes #1036)#1165RRRG3 wants to merge 4 commits intoprocessing:2.0from
Conversation
2aebebd to
2082e8e
Compare
|
updated the prominent links as requested. Happy to update the optional tutorial/documentation links
|
|
This PR updates all major editor entry points on the 2.0 website to automatically pass the correct p5.js version ?version=${p5Version} query parameter. |
|
Tagging @lirenjie95 for review! Thanks @RRRG3 @aman04raza-stack for your work. |
|
This PR modifies the files src/components/Footer/index.astro, src/components/Nav/MainNavLinks.tsx, src/content/text-detail/en/download.mdx, and src/content/text-detail/zh-Hans/download.mdx, which makes the 2.0 website have the correct p5.js version by default. |
This PR adds the version parameter to prominent editor links so users opening the editor from the 2.0 website automatically have the correct p5.js version selected.
?version=${p5Version}parameter to editor links in:p5-version.tsFixes #1036