Point stale docs.sourcegraph.com links at sourcegraph.com/docs - #1364
Merged
bahrmichael merged 3 commits intoSep 4, 2026
Merged
Conversation
bahrmichael
marked this pull request as ready for review
September 3, 2026 12:12
bahrmichael
enabled auto-merge (squash)
September 3, 2026 12:13
keegancsmith
approved these changes
Sep 3, 2026
keegancsmith
left a comment
Member
There was a problem hiding this comment.
Approving to unblock. I checked all nine distinct rewritten URLs in a browser: five reach the intended docs pages, while four render the docs site’s soft-404 page despite returning HTTP 200. I left non-blocking inline notes on those four links.
Contributor
Author
|
Thanks @keegancsmith ! I'll go through those tomorrow :) |
The testing principles, Go testing, telemetry, and CSRF security model pages no longer exist on sourcegraph.com/docs. Replace the links with plain text and inline the relevant context in the code comment. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
bahrmichael
deleted the
docs-url-rewrite-88cfd6e5-d8f4-47ad-a67e-f9286a430b5a
branch
September 4, 2026 11:03
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.
docs.sourcegraph.comis no longer the docs host. This rewrites the remaining absolute references to theirsourcegraph.com/docsequivalents.The rewrite is purely mechanical — only the host portion changes (
docs.sourcegraph.com/<path>becomessourcegraph.com/docs/<path>). Paths that were reorganised since (for exampleadmin/observability/tracingandbatch_changes/references/troubleshooting) are already covered by permanent redirects in the docs site's redirect map, so the rewritten links resolve.In
src-cli,CHANGELOG.mdis deliberately left alone: those entries are a historical record. In the docs repo the change is scoped todocs/cli/references/**, which is generated fromsrc-clibysrc doc— the companionsrc-clichangeset fixes the generator's source strings so the docs stay correct after the next regeneration.Created by a Sourcegraph agentic batch change.