nuxt.com icon indicating copy to clipboard operation
nuxt.com copied to clipboard

Docs: "Read more in Docs" links ignore selected version (always redirect to latest)

Open MaximeBignolet opened this issue 2 months ago • 1 comments

Environment

Docs website: https://nuxt.com/

Reproduction

  1. Go to a versioned documentation page, for example: https://nuxt.com/docs/v3.20/guide/...

  2. Locate a section with a “Read more in Docs > API > Components > NuxtLink” type link.

  3. Click the link.

  4. Observe that the opened page is under: https://nuxt.com/docs/api/... (latest)

  5. instead of: https://nuxt.com/docs/v3.20/api/...

Image Image Image

Describe the bug

When browsing the documentation with a specific version selected (for example v3.20), some internal "Read more in Docs" links redirect back to the latest docs instead of staying within the selected version.

This causes the user to unintentionally leave the versioned documentation context.

Additional context

No response

Logs


MaximeBignolet avatar Nov 02 '25 13:11 MaximeBignolet

@MaximeBignolet Indeed thank you for reporting the issue, I could make a fix to replace the to with the current doc version but the problem is that sometimes we would be redirected on a 404 🤔

HugoRCD avatar Nov 03 '25 09:11 HugoRCD