GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Point stale docs.sourcegraph.com links at sourcegraph.com/docs by bahrmichael · Pull Request #1364 · sourcegraph/src-cli

Conversation

@bahrmichael

@bahrmichael bahrmichael commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

docs.sourcegraph.com is no longer the docs host. This rewrites the remaining absolute references to their sourcegraph.com/docs equivalents.

The rewrite is purely mechanical — only the host portion changes (docs.sourcegraph.com/<path> becomes sourcegraph.com/docs/<path>). Paths that were reorganised since (for example admin/observability/tracing and batch_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.md is deliberately left alone: those entries are a historical record. In the docs repo the change is scoped to docs/cli/references/**, which is generated from src-cli by src doc — the companion src-cli changeset fixes the generator's source strings so the docs stay correct after the next regeneration.

Created by a Sourcegraph agentic batch change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bahrmichael
Rewrite docs.sourcegraph.com links to sourcegraph.com/docs
dfe9146
@bahrmichael
bahrmichael marked this pull request as ready for review September 3, 2026 12:12
@bahrmichael
bahrmichael enabled auto-merge (squash) September 3, 2026 12:13
keegancsmith
keegancsmith approved these changes Sep 3, 2026
View reviewed changes

@keegancsmith keegancsmith left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread DEVELOPMENT.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread internal/users/admin.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bahrmichael

bahrmichael commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @keegancsmith ! I'll go through those tomorrow :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bahrmichael and others added 2 commits September 4, 2026 09:22
@bahrmichael @claude
Remove dead links to deleted Sourcegraph dev docs
0c19fdb
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 <[email protected]>
@bahrmichael
Merge branch 'main' into docs-url-rewrite-88cfd6e5-d8f4-47ad-a67e-f92…
d714fb1
…86a430b5a
@bahrmichael
bahrmichael merged commit 0adbf30 into main Sep 4, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bahrmichael
bahrmichael deleted the docs-url-rewrite-88cfd6e5-d8f4-47ad-a67e-f9286a430b5a branch September 4, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@keegancsmith keegancsmith keegancsmith approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@bahrmichael @keegancsmith
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.