learn.nuxt.com
learn.nuxt.com copied to clipboard
Edit this page incorrect link
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?
Or maybe this prefix configuration option from Nuxt content docs is another solution?