Docs: "Read more in Docs" links ignore selected version (always redirect to latest)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 457
- Forks
- 272
- Avg merge
- 13h 33m
- Merged PRs (30d)
- 23
Description
Environment
Docs website: https://nuxt.com/
Reproduction
-
Go to a versioned documentation page, for example:
https://nuxt.com/docs/v3.20/guide/... -
Locate a section with a “Read more in Docs > API > Components > NuxtLink” type link.
-
Click the link.
-
Observe that the opened page is under:
https://nuxt.com/docs/api/... (latest) -
instead of:
https://nuxt.com/docs/v3.20/api/...
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the versioned documentation entry point, such as /docs/v3.20/guide/..., and trace how “Read more in Docs > API > Components > NuxtLink” links are generated on the Nuxt website. Verify that the link handling preserves the selected version and ends at /docs/v3.20/api/... rather than /docs/api/... .
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- documentation, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100