Skip to content

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

@MaximeBignolet

Description

@MaximeBignolet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions