mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
9aa1db57ae
## Summary
- Shell pre-cutover fix. Flip the dashboard cell "Docs" link in
`showcase/shell-dashboard/src/components/cell-pieces.tsx:59` from
`${shellUrl}/${slug}${shellPath}` to
`https://docs.copilotkit.ai/${slug}${shellPath}`.
- Pre-cutover this CNAME serves the Vercel docs site; post-cutover it
serves shell-docs on Railway. Both resolve `/<framework>/<slug>`
correctly, so the change is safe across the DNS flip window.
- Demo + Code iframe links (lines 20, 21) intentionally untouched — they
iframe `/integrations/[slug]/[demo]/{preview,code}` routes that only
`showcase/shell` serves today; porting those is post-cutover work.
## Why this is flip-blocking
After the `docs.copilotkit.ai` DNS flip, `${shellUrl}` (=
`showcase.copilotkit.ai`) no longer serves `/docs/**` — those routes
were ripped out and the redirect middleware moved to shell-docs in PR
#4702 (merged 2026-05-08). Without this change, every dashboard "Docs"
cell goes 404 at T-0 of the flip.
## Test plan
- [ ] CI green
- [ ] Smoke locally: `pnpm nx run
@copilotkit/showcase-shell-dashboard:dev`, hover any cell's Docs link,
confirm href starts with `https://docs.copilotkit.ai/`
- [ ] After merge + Railway redeploy of shell-dashboard, hit production
and re-verify the href