On each page, we can find a Edit this page link at the bottom.
However this link points towards a 404 on Github.
For instance, on the home page https://learn.nuxt.com/en:
The edit this page points to: https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/en/0.index.md which is a 404.
It should point to https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/0.index.md.
So basically its related to the double /en/en in the url.
The Edit this page uses sourceUrl which is based on page.value.id. The fix should be done on this file by removing the locale from the page.value.id maybe?
On each page, we can find a
Edit this pagelink at the bottom.However this link points towards a 404 on Github.
For instance, on the home page https://learn.nuxt.com/en:
The edit this page points to: https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/en/0.index.md which is a 404.
It should point to https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/0.index.md.
So basically its related to the double
/en/enin the url.The
Edit this pageusessourceUrlwhich is based onpage.value.id. The fix should be done on this file by removing the locale from thepage.value.idmaybe?