Skip to content

fix(web): publish current docs at root routes#1627

Merged
christso merged 1 commit into
mainfrom
docs-route-banner
Jul 4, 2026
Merged

fix(web): publish current docs at root routes#1627
christso merged 1 commit into
mainfrom
docs-route-banner

Conversation

@christso

@christso christso commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Current public docs now render directly at root /docs/... URLs instead of sending users through the archived v4.42.4 tree. The reported /docs/v4.42.4/targets/llm-providers/ URL is generated as a real archived page again, and /docs/next/... remains available as a compatibility redirect to the root docs path.

The visible docs version selector now labels the root docs as Current instead of Next, avoiding canary-style wording for the public docs experience.

Validation

  • Baseline before the fix: bun --filter @agentv/web build emitted archived LLM provider content under /docs/v4424/targets/llm-providers/ while root docs redirected to /docs/v4.42.4/.
  • bun --filter @agentv/web build
  • bun --filter @agentv/web check:routes
  • curl against local preview returned 200 for /docs/, /docs/targets/llm-providers/, and /docs/v4.42.4/targets/llm-providers/.
  • agent-browser --session docs-route-banner open http://127.0.0.1:4322/docs/
  • agent-browser --session docs-route-banner open http://127.0.0.1:4322/docs/v4.42.4/targets/llm-providers/

Dedicated CE code review was skipped because this harness only permits spawning sub-agents when the user explicitly requests delegation. I ran a manual diff review instead and tightened the redirect map/checker to use MDX slugs and validate every archived manifest route.

Post-Deploy Monitoring & Validation

No additional operational monitoring required: this is a static docs routing/content build change with no runtime service, database, or API behavior. After deploy, validate with HTTP 200 checks for /docs/, /docs/targets/llm-providers/, and /docs/v4.42.4/targets/llm-providers/; rollback trigger is any 404 or unexpected redirect loop on those paths.

Related

Related: Bead av-1q3t


Compound Engineering
GPT-5

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: db90ffe
Status: ✅  Deploy successful!
Preview URL: https://c459004d.agentv.pages.dev
Branch Preview URL: https://docs-route-banner.agentv.pages.dev

View logs

@christso christso force-pushed the docs-route-banner branch from b773757 to db90ffe Compare July 3, 2026 23:08
@christso christso merged commit 1877ecf into main Jul 4, 2026
8 checks passed
@christso christso deleted the docs-route-banner branch July 4, 2026 01:21
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