Skip to content

feat/legacy-docs: Point legacy docs readers to the new docs - #2181

Draft
taras-yemets wants to merge 1 commit into
mainfrom
taras/legacy-docs-banner
Draft

taras-yemets wants to merge 1 commit into
mainfrom
taras/legacy-docs-banner

Conversation

@taras-yemets

@taras-yemets taras-yemets commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds a banner on docs-legacy.sourcegraph.com that says these docs are no longer updated and links to the new docs at sourcegraph.com/docs. It checks the hostname in the browser, so sourcegraph.com/docs, ms-docs.sg.dev, and previews don't show it.

Merge when sourcegraph.com/docs switches to the new docs site, together with stopping the generated-docs sync from sourcegraph/sourcegraph (//doc:generated.push), so "no longer updated" is true. Until the switch, the link still opens this site. Related: #2180, sourcegraph/infrastructure#7665, sourcegraph/sourcegraph#19591.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Nov 23, 2026 12:22pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

This branch was successfully deployed

1 active deployment
Preview — c87f8318 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant