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
A clear and concise description of what the bug is.
It looks like Immer has just switched over to Docusaurus v2, which is nice. However, in the process, the URL structure has changed - there's no longer a /docs/ segment. This has changed the URL of every page in the docs site and broken external links. For example, the "Returning Values" page used to be at https://immerjs.github.io/immer/docs/return , and now it's at https://immerjs.github.io/immer/return , so the old URL gives a 404.
If the docs were hosted on Netlify, you could use their _redirects file to point the old URLs to the new URLs (I've done that a lot with the Redux docs).
A quick search suggests that Github Pages does not provide server-side redirects. It looks like Docusaurus does have a "client-side redirects" plugin at https://v2.docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects . It would be great if you could set that up and redirect all the old links to the current pages.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
A clear and concise description of what the bug is.
It looks like Immer has just switched over to Docusaurus v2, which is nice. However, in the process, the URL structure has changed - there's no longer a
/docs/
segment. This has changed the URL of every page in the docs site and broken external links. For example, the "Returning Values" page used to be at https://immerjs.github.io/immer/docs/return , and now it's at https://immerjs.github.io/immer/return , so the old URL gives a 404.If the docs were hosted on Netlify, you could use their
_redirects
file to point the old URLs to the new URLs (I've done that a lot with the Redux docs).A quick search suggests that Github Pages does not provide server-side redirects. It looks like Docusaurus does have a "client-side redirects" plugin at https://v2.docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects . It would be great if you could set that up and redirect all the old links to the current pages.
The text was updated successfully, but these errors were encountered: