Remove 6.x entries from docs version dropdown - #2014
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
enriquegh
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Dropping 6.x (v6.12 – v6.7) from the docs version dropdown. Latest (v8.0) and all the 7.x entries stays on the drop-down versions list.
Why
Sourcegraph only supports the latest major plus one back (N-1). Now that 8.0 version is out, that makes 8.x and 7.x so 6.x versions should not be showing up as a current option anymore. Same thing we did with 5.x last time around.
Not touching
legacy.mdx- the 6.x links stay there, just like 5.x still does.Heads up
Merging this doesn't make it live right away, the dropdown pulls from whatever's deployed on main (with a 5 min cache), so give it a few minutes after deploy.
Tested locally, dropdown looks right, just latest 8.0 + 7.x.