payloadcms / payloadcms/website
Respect version selection when searching
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 634
- Forks
- 195
- Avg merge
- 11h 43m
- Merged PRs (30d)
- 17
Description
Documentation Issue
When I perform a search in the Payload Docs it does a search against the latest documentation. This means that if I am browsing the Version 2 documentation and I do a search it brings me to the documentation for that page on the Version 3 docs. The work around I've been doing is modifying the URL of the search result page and inserting v2/ after /docs but this can get tedious when searching a lot.
Additional Details
This occurs when viewing documentation for Version 2 and performing a search.
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the search from Version 2 documentation and inspect the website's search and versioned documentation routing entry points. Confirm that results preserve the selected version rather than opening the latest documentation, then verify searches from Version 2 return Version 2 URLs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- documentation, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100