Skip to content

Fix broken external links in docs#310

Draft
hongyi-chen wants to merge 1 commit into
broken-links-basefrom
fix/broken-external-links
Draft

Fix broken external links in docs#310
hongyi-chen wants to merge 1 commit into
broken-links-basefrom
fix/broken-external-links

Conversation

@hongyi-chen

Copy link
Copy Markdown
Collaborator

Summary

Fixes 13 broken external links surfaced by the check_for_broken_links skill (down from 15 findings to 2 confirmed false positives).

Changes

  • LICENSE links (10 files): github.com/warpdotdev/warp/blob/master/LICENSE returned 404. The AGPL v3 license file on the repo's default (master) branch is LICENSE-AGPL, so all references now point to blob/master/LICENSE-AGPL.
  • Cross-space docs links (2 files): Removed the incorrect /warp prefix, since docs/warp/ is the docs homepage and "warp" is omitted from published URLs:
    • docs.warp.dev/warp/code/code-editordocs.warp.dev/code/code-editor (also the adjacent /file-tree subpage link)
    • docs.warp.dev/warp/terminal/settingsdocs.warp.dev/terminal/settings
  • CLI agents link (1 file): docs.warp.dev/agent-platform/cli-agents (404) now targets the concrete cli-agents/overview page.

Not changed (false positives)

The two remaining reported 403s are bot protection, not broken links:

  • help.openai.com/en/articles/4936856-understanding-tokens — Cloudflare-protected; the article exists.
  • tiktok.com/@warp.dev — returns 200 with a normal browser user agent.

Verification

  • Internal link check: 0 broken (1743 links).
  • Full re-run after fixes: broken count dropped from 15 to 2 (both false positives above).
  • Each fixed target URL confirmed to return 200.

Note on base branch

The working checkout tracks the archived warpdotdev/gitbook repo, whose history has no common ancestor with warpdotdev/docs main. To keep this PR reviewable, it targets broken-links-base (the pre-fix gitbook snapshot) so the diff shows only the link fixes.

Conversation: https://app.warp.dev/conversation/a3b97032-ae12-4a4c-b0a3-45a86e157508
Run: https://oz.warp.dev/runs/019f47d2-7c40-7766-862e-7382b083b3fe

This PR was generated with Oz.

Fix 13 broken external links found by the broken-link checker:

- Update Warp client LICENSE links (10 files) from the non-existent
  blob/master/LICENSE to blob/master/LICENSE-AGPL, the actual AGPL v3
  license file in warpdotdev/warp.
- Fix cross-space links that incorrectly included the /warp prefix
  (docs/warp is the docs homepage, so "warp" is omitted from URLs):
  - docs.warp.dev/warp/code/code-editor -> docs.warp.dev/code/code-editor
  - docs.warp.dev/warp/terminal/settings -> docs.warp.dev/terminal/settings
- Point the third-party CLI agents link to the concrete overview page
  (agent-platform/cli-agents/overview).

The two remaining reported 403s (help.openai.com, tiktok.com) are bot
protection false positives; both pages exist when visited normally.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jul 9, 2026
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Error Error Jul 9, 2026 5:17pm

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR fixes broken and non-canonical external links across 13 documentation pages. It updates the open-source license link from .../blob/master/LICENSE to .../blob/master/LICENSE-AGPL in 10 files, canonicalizes three cross-space docs.warp.dev/warp/... links (in codebase-context.md and slash-commands.md), and points the Claude Code migration page at agent-platform/cli-agents/overview instead of the agent-platform/cli-agents index. Every changed line is correct.

Verification: warpdotdev/warp no longer has a plain LICENSE file (it now has LICENSE-AGPL and LICENSE-MIT), so the old link 404s and LICENSE-AGPL returns 200 — and AGPL is the right target since the docs describe the client as "AGPL v3". The agent-platform/cli-agents index is a genuine 404 while .../cli-agents/overview returns 200. The /warp/... links 308-redirect to their canonical /code/... and /terminal/... targets (all target files exist locally), so they weren't hard-broken, but removing the warp prefix matches the repo's own convention that docs/warp/ is the homepage. The internal link checker passes cleanly (0 broken across 1743 internal links / 260 files), and no SUMMARY.md or .gitbook.yaml redirect changes are needed since no files were moved or renamed.

One consistency gap: codebase-context.md (a file this PR edits) still has a non-canonical /warp/code/git-worktrees link on line 34, outside the edited hunk. A few out-of-scope files also still contain redirecting /warp/... links (interactive-code-review.md, agent-context/README.md, and several guides/* pages) if a follow-up canonicalization pass is desired — none are hard-broken since they redirect.

Found: 0 critical, 0 important, 1 suggestion, 0 nits. Recommendation: Approve.

* **[File Tree](https://docs.warp.dev/warp/code/code-editor/file-tree)** - Browse your project structure in Warp's sidebar and open files directly.
* **[Code editor](https://docs.warp.dev/warp/code/code-editor)** - Edit files with syntax highlighting, LSP support, and find-and-replace without leaving Warp.
* **[File Tree](https://docs.warp.dev/code/code-editor/file-tree)** - Browse your project structure in Warp's sidebar and open files directly.
* **[Code editor](https://docs.warp.dev/code/code-editor)** - Edit files with syntax highlighting, LSP support, and find-and-replace without leaving Warp.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 [SUGGESTION] Good canonicalization of these two links. Since this PR is removing the /warp/ prefix from cross-space links, consider fixing the remaining one in this same file on line 34:

[Git worktree](https://docs.warp.dev/warp/code/git-worktrees)[Git worktree](https://docs.warp.dev/code/git-worktrees)

It currently 308-redirects (so it's not hard-broken), but per the repo's link convention docs/warp/ is the docs homepage, so warp shouldn't appear in the URL. Fixing it here keeps this page internally consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant