Repository navigation
feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild - #8327
Merged
Merged
Conversation
tylerslaton
requested review from
jpr5,
mme,
rainerhahnekamp and
wolfmanfx
as code owners
November 11, 2026 04:55
4 tasks done
Contributor
WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
Contributor
Production Digest-Pinning AuditAll 44 services digest-pinned. Run 2026-11-11 15:41:09 PST — 0 finding(s). |
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 04:55
Destroyed
|
🚅 Deployed to the CopilotKit-pr-8327 environment in showcase
51 services not affected by this PR
|
Contributor
|
Size Change: 0 B Total Size: 2.48 MB ℹ️ View Unchanged
|
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/intelligence-langgraph
@copilotkit/intelligence-mastra
@copilotkit/learning
@copilotkit/mcp-apps-renderer
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 19:12
Destroyed
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 22:12
Destroyed
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 22:13
Destroyed
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 22:14
Destroyed
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 22:54
Destroyed
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 22:58
Destroyed
docs.copilotkit.ai moves to a from-scratch rebuild on Fumadocs 16. It replaces the old app in showcase/shell-docs instead of sitting beside it, so the docs keep one home and one history. - The pages stay in src/content. Components resolve by name, so page imports are dropped except `.mdx` snippets, and a page with sub-pages moves to `X/index.mdx`. Otherwise this commit leaves the pages as they were. - Spacious docs layout and a home page in the copilotkit.ai brand, with a framework picker, a sidebar per topic, and SDK and partner logos. - Ask CopilotKit, in the sidebar and as a full page at /ask. - Standard catalog component pages on Fumadocs Story, an examples playground that embeds the showcase demos, Orama search, an MCP server, llms.txt and Markdown routes, telemetry, and the legacy redirect tables. - public/ keeps only icons and the images pages show; page images go through Git LFS. - The Dockerfile builds the app from the repo root for the docs service (port 10000, the commit and branch build args, the Node 22.23.4 check) and fetches LFS images when the checkout has pointer files. - patches/ carries the react-core scroll-to-bottom fix from #8159 until a release with it is installed. BREAKING CHANGE: showcase/shell-docs is a new app. Its scripts, source layout and dev port (3003) follow the Fumadocs rebuild; see its README. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ss the docs Every docs page was graded against the source in two passes, and its findings fixed: - Accuracy: wrong hook, prop, and option names; defaults the code does not have; samples that did not compile or run; broken links and anchors. - Structure: each page opens on the reader's problem and ends on a result they can check, rewritten to simple-english rules, with no em or en dashes, exclamation marks, or preambles. - Visual: full-width images, code samples cut to the part the prose explains, readable tables, and cards in place of hand-built boxes. - Removed the retired ai-todo-app and ai-powered-textarea tutorials (their URLs already redirect), a stale duplicate useCapabilities page, and four unused snippets. - Build with agents shows MCP setup in one tab per coding tool, and What's new drops the MCP Apps video that no host serves. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Code outside showcase/shell-docs read files the old app had. Now: - The showcase shell's search index keeps its "reachable from a sidebar" rules in showcase/scripts/lib/docs-searchable (moved unchanged from the old app, which no longer has them), run with shell-docs as the working directory. The shell image no longer stages shell-docs' lib, scripts and tsconfig. - test_unit-shell-docs runs the new app's checks: showcase data, typecheck, lint, and a compile of every page. - The docs-prompt telemetry pin reads the onboarding events from the new prompt component; verify-shell-docs reads its named snippets; the hosting test checks that showcase-data bundles Angular, not Vue, source. - The config allowlist names next.config.mjs, the Mastra A2UI workflow watches the new snippet renderer, and docs, skills and comments point at the new files. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The docs review had added deprecated v1 imports to 14 pages (the LangGraph agent-native-app tutorial, migrate/1.8.2, and v1 reference samples), and scripts/docs-deprecated-imports-baseline.json may only shrink. Those pages keep their main version, and the baseline drops the 12 entries the review removed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The checkout has Git LFS pointer files for the images in public/, and compiling a page reads the size of each image it shows. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
doc-tests joins every block on a page that shares a title into one file. The built-in agent MCP Apps page now shows a second, alternative route file for Intelligence, so the test compiled both together and failed. Only the first block is a doc test now. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…and the public/ cleanup - The Fumadocs scaffold pages under content/ (/docs: a starter quickstart, the theme sheet and the design-ideas pages) and their routes, the /proto variant pages, and the .impeccable design-tool state are prototype leftovers, so they go with the code only they used. - patches/ and patch-package are gone. The scroll-to-bottom fix they carried for @copilotkit/react-core 1.82.0 ships in a release instead. - public/ keeps every file it had on main; only the new icons and logos are added, so no v1 asset URL breaks. The app's .gitattributes, which moved existing webp and svg files into LFS, is gone. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…cker The stack picker's frontend row only wrote the choice to localStorage, so on /mastra/frontend-tools picking Vue relabelled the picker while the page, which takes its frontend from the URL, still rendered React. The row now shows the URL's frontend (React when it names none) and opens the same page under the one picked, mapped as shell-docs' picker did: /mastra/frontend-tools on Vue is /vue/mastra/frontend-tools, and an app page switched to Slack or Teams opens the channel's overview. A page only another frontend has (an Angular guide on Vue, a Slack guide on React) redirects to that frontend's quickstart instead of a 404. The picker now also renders on frontend URLs, and the framework row keeps the frontend. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…r does ProtoStackAgent's switch tool saved the frontend to localStorage and pushed a framework URL without the frontend prefix, so the agent could say it opened the docs on Vue while the page rendered React. It now reads the frontend from the URL, like the stack picker, and opens the same page on the new stack: a new framework keeps the URL's frontend (/vue/mastra/x to /vue/langgraph-python/x), and a new frontend goes through frontendHref (/mastra/x on Vue is /vue/mastra/x, on Slack the channel's overview). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Every frontend URL got React's sidebar, so /slack and /angular listed 107 React links and missed /slack/connect, /slack/tools and the Angular guides. Port v1's frontend navigation: Slack and Teams get the channel guide, React Native its quickstart and reference, and Vue and Angular React's sidebar cut to the pages their frontend policy says they serve, with Angular's guides added and React topics they cover folded in. The layout now carries each frontend's served pages, read from page frontmatter and the meta.json `frontend` policy the meta schema now keeps. /vue/using-these-docs opens Vue's own page, as v1 did. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The old reference route opened every reference/v1 page with a deprecation warning linking to the v2 migration guide and the export map. LiveArticle dropped it, so only the Markdown export still carried it. The notice text now lives in src/lib/v1-deprecation.ts, and both the HTML page and the Markdown export read it from there. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…e-launch notes No page uses StackVariants, and it throws without a stack provider, so it leaves the MDX map. PRODUCT.md no longer says the app is not deployed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
React Native had a quickstart and nothing else. Add its versions of the feature pages it supports, at React's slugs, so each fills the same sidebar row: prebuilt components, headless UI, markdown, attachments, programmatic control, frontend tools, generative UI (tool-based, tool rendering, state rendering), shared state, and human-in-the-loop (overview, useInterrupt, headless, governed actions). Each uses the agent frameworks' setup concepts, as the React page does. Code is checked against packages/react-native. Pages the package can't support (CSS, slots, voice, the threads drawer, A2UI, MCP Apps) are left out, and useThreads waits for a device test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ct slugs Angular's guides moved to React's slugs and React Native gained its own pages, so the showcase search lib's Angular guide list and React-to-guide map point at redirects. Give every app frontend the same sidebar: the shared outline, kept to the rows whose page the frontend has. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Vue, Angular, and React Native each had a "Using these docs" page that explained which docs applied to them. Each frontend's sidebar now lists the pages it has, so the page explains nothing the sidebar doesn't. Remove the pages and their sidebar row; their URLs open the frontend's quickstart. Co-Authored-By: Claude Opus 5.5 <[email protected]>
/angular/features listed every Angular feature with its demo, source, and API link, the one Angular-only page in the shared outline. Remove it, its sidebar row, the links to it across the Angular pages, the <AngularFeatureCatalog> component only it used, and its rows in the showcase app's search index. The URL opens Angular's quickstart. Co-Authored-By: Claude Opus 5.5 <[email protected]>
14 integrations had drifted copies of src/app/globals.css. In 8 of them
(mastra, crewai-crews, crewai-conversational-flows, langroid, strands,
strands-typescript, ms-agent-python, ms-agent-harness-dotnet) <html> and
<body> had no height, only `body { min-height: 100vh }`. A full-page
<CopilotChat> then shrank to the height of its welcome screen and sat at
the top of the page in the agentic-chat and beautiful-chat demos, and
the readonly-state-agent-context page scrolled as a whole.
Copy langgraph-python's globals.css over all 14 so every integration
renders the shared demo pages the same way. This also restores the theme
tokens that headless-complete uses, and lets <CopilotSidebar /> push the
page instead of covering it in ag2, agno, llamaindex and spring-ai.
create-integration wrote the drifted stylesheet, so it now copies
langgraph-python's file. A new test fails CI when any integration's
globals.css differs from langgraph-python's.
Main has since given every copy dark mode. langgraph-python's file has it,
so the copies take it too; the dark overrides main added to the old
html/body blocks in some copies go with those blocks.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The root stylesheet sets `overflow: hidden` on <html> and <body>, so a demo page can't rely on the document to scroll. Three shared demo pages did: their root was `min-h-screen`, which grows with the content instead of scrolling it. The bottom of the page was cut off and couldn't be reached: - readonly-state-agent-context: the Published Context card, at any viewport under 1190px tall - shared-state-read-write: the bottom cards, under 786px - shared-state-read: the end of the recipe, under 874px This already happened in the 14 integrations on the canonical stylesheet, and the previous commit would have brought it to the other 8. Give each page root `h-full overflow-y-auto` so the page scrolls inside itself. The same line changes in every integration's copy of each page, on top of main's dark mode, including openai-agents-python, which main added since. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… does Folding the per-framework page copies into the shared pages moved their code into each framework's setup steps (docs/setup/*.mdx and the Deep Agents snippets). Those copies were written before this branch pinned gpt-6-luna, so 32 setup files brought back gpt-5.5, gpt-5.4, gpt-5-mini and gpt-4o, and validate-doc-model-names failed on 18 of them. Pin them the way the pinned page copies and each integration's own agent code do: reasoning_effort "none" on ChatOpenAI, OpenAIChat and litellm calls (plus allowed_openai_params), and on the .NET chat client through ChatCompletionOptions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nswer The redirect check still expected three URLs to stay put and one to take two hops, as before the pages moved: - /mastra/generative-ui/your-components/display-only and /interactive folded into the shared pages, so they now answer 301 to /mastra/generative-ui/display and /mastra/human-in-the-loop. - /angular/features was dropped with Angular's feature catalog page and now answers 308 to /angular. - /generative-ui-specs/a2ui takes one hop to /generative-ui/a2ui, since a legacy redirect now follows a destination that is itself redirected. The stack these came from targeted a branch other than main, so this CI check never ran on it. 1034/1034 pass against next start. Co-Authored-By: Claude Opus 5.5 <[email protected]>
React Native's guide moved from docs/frontends/react-native.mdx to docs/frontends/react-native/index.mdx when its feature pages joined it. main's generative UI docs test still read the old path, so all 11 of its checks failed on a missing file. The guide's content still passes them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed pages The frontend-neutral pages moved into the docs/(shared) route group, React Native's guide into its folder, and the sidebars into their meta.json files, so three packaged-skill checks failed: - intelligence-docs told readers to edit live-sidebar.ts, which is gone. The Intelligence sidebar is now the Intelligence group of docs/(shared)/meta.json, and the pages are under docs/(shared)/intelligence/. - inspector-docs' pane map named docs/inspector.mdx and docs/frontends/react-native.mdx; they are now docs/(shared)/inspector.mdx and docs/frontends/react-native/index.mdx. - The copilotkit skill's links (/backend/copilot-runtime and ten more) still work, but the check looked for each page only under docs/. It now looks in docs/(shared) too, since the route group isn't in the URL. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed pages The ratchet lists each page that teaches a deprecated v1 symbol by its path, so it failed once the pages moved. Nothing new is taught: the baseline shrinks from 81 to 74 entries, and the three new entries are existing ones at their new paths. - ag-ui-middleware.mdx moved into docs/(shared), with its LangGraphAgent import. - The Deep Agents state-streaming code (stateItem and stateStreamingMiddleware) moved from the folded pages into snippets/setup/deepagents/state-streaming-setup.mdx. - The folded copies' entries (Deep Agents' MCP Apps, state rendering and predictive state pages, LangGraph's deep-agents and predictive state pages, and docs/deepagents/index.mdx) are gone with them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thirteen manifests listed gen-ui-interrupt and interrupt-headless in not_supported_features, "QUARANTINED pending a @copilotkit/react-core release" for a resume-path hook bug. That bug is fixed as of @copilotkit/* 1.62.1, and Mastra and Strands already lifted the same quarantine. not_supported_features is for what a framework can't do, and the docs hide those pages, so the stale entries hid the interrupt docs from LangGraph, the built-in agent, MAF, the Claude SDK and others. Move both features back to features in built-in-agent, claude-sdk-python, claude-sdk-typescript, google-antigravity, langgraph-python, langgraph-typescript, langgraph-fastapi, langroid, ms-agent-python, ms-agent-dotnet, ms-agent-harness-dotnet, pydantic-ai and spring-ai. The cells run in D6 again; a rerun confirms them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A shared page served under a framework (/mastra/shared-state) pointed its canonical at the unscoped page, so search engines never saw a framework's setup steps or code, and docs search couldn't find them either. - A shared page that shows a framework's own showcase code, demo, or setup steps is a page of its own for that framework: /<framework>/<page> is self-canonical and in the sitemap. Pages that read the same for every framework stay one page, and frontend x framework stays collapsed (/vue/mastra/... is /vue/...). LangGraph FastAPI points at LangGraph Python, whose setup it reuses. showcase-data generates the list (framework-variants.json) from the content and showcase data. The sitemap goes from 515 to about 1,070 URLs. - llms-full.txt and search keep each page's text once. Search also indexes each framework's setup steps under that framework's version of the page, tagged so only readers on that framework get them: a CrewAI reader searching "CopilotKitState context" finds CrewAI's caveat. - /built-in-agent is no longer listed: it redirects to the docs home. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The docs rebuild served every page file it found, so pages that docs.copilotkit.ai had no sidebar row or link for became reachable. A crawl of production's sidebars and in-page links found 57 of them: - 35 that loaded on main only by typed URL: What's New, the 1.8.2, 1.10.X and AG-UI 1.0 migration guides, FAQ, Examples, Frontend-driven cards, 9 Vue pages, 9 LangGraph-only pages, the MAF and LangGraph interrupt-flow pages, 2 CrewAI pages and Angular's native generative UI guide. Their URLs now 404. - 22 whose URLs main redirected elsewhere: the LangGraph travel and agent-native tutorials, headless, agentic-chat-ui, built-in-agent and multi-conversation-chat. Main's redirects still apply. Sidebar rows, in-page links, setup-file links and docs-links that pointed at them are removed or pointed at the surviving page, and legacy redirects that landed on them now land on that page instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
page-inventory.json records every page file, the pages that sit in no sidebar, and the sitemap's URLs. check-page-inventory fails when a page is added or removed, when a new page is in no sidebar, or when the sitemap changes, until the inventory is updated with --update and committed, so every change to what readers can reach shows up in review. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…fix too Main's Angular and Vue sidebars link framework pages like /angular/mastra/ag-ui. Their redirects only matched without the frontend prefix, so those 27 URLs returned 404. A framework page's redirect now applies under /vue, /angular, /react-native, /slack and /teams as well, keeping the prefix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… topic Main served pages like /agno/shared-state/streaming as "not supported on Agno" notices (39 of them), plus 4 hand-written state-rendering pages no showcase demo backs. The rebuild hid them, so their URLs returned 404. A page a framework's showcase marks unsupported now redirects to the nearest parent page that framework has, in the same frontend and framework scope (/agno/shared-state), or to the framework's landing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…vity cookbook changes over Main changed files of the old docs app that the rebuild deletes. The same changes, in the rebuild: - The OpenAI Agents SDK framework (#8245): its landing record in frameworkOverviews and its card in the framework list, so /openai-agents-python and the home's Integrations tray show it. - OpenBot (cf12dd1): a "Built with CopilotKit" section on the docs home and an OpenBot card in the navbar's Guides menu. - The Antigravity cookbook's rename to /cookbook/google-antigravity: redirects from the old URL, under any prefix too. page-inventory.json records the new and renamed pages and their sitemap URLs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
tylerslaton
force-pushed
the
tylerslaton/docs-shell-overhaul
branch
from
November 11, 2026 23:23
6c65115 to
6040be7
Compare
railway-app
Bot
temporarily deployed
to
showcase / CopilotKit-pr-8327
November 11, 2026 23:23
Destroyed
…l tutorial The tutorial's pages were never reachable on docs.copilotkit.ai (main redirected them to the LangGraph quickstart) and are removed, so the test that read them has nothing left to check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
AlemTuzlak
added a commit
that referenced
this pull request
Nov 12, 2026
Brings main's Fumadocs rebuild of shell-docs (#8327) into 2.0.0, plus main's A2UI 1.0 operations (#8353), the OpenAI Agents SDK starter and docs, and the v1.86/v1.87 releases. - Keep main's docs structure (shared pages, folded framework copies, setup snippets, new redirects) and 2.0.0's API content; every snippet type-checks against the 2.0 source with kiira. - Port 2.0.0's v1-reference and CopilotTextarea redirects into main's redirect system, and refresh the page inventory. - Port A2UI 1.0 support into 2.0.0's shared a2ui engine, and baseline the lint errors main's A2UI 1.0 code brings in. - Move the OpenAI Agents SDK starter to examples/starters. Co-Authored-By: Claude Opus 5.5 <[email protected]>
tylerslaton
added a commit
that referenced
this pull request
Nov 12, 2026
#8373) Follow-up to #8327. I checked every URL the old docs served against staging: production's sitemap, a crawl of its sidebars and in-page links, and its redirect table, 7,518 URLs in all. 400 of them returned 404. With this change, 398 of the 400 land on a working page. A URL that would 404 now redirects (308) to a page in the reader's own frontend and framework scope: - **A page the rebuild dropped** goes to its replacement. These include What's New, FAQ, the 1.8.2, 1.10.X and AG-UI 1.0 migration guides, `interrupt-flow`, the LangGraph advanced pages, and some older generative UI and shared state slugs. If that framework doesn't have the replacement page, it goes to the replacement's nearest parent page, then to the scope's root. - **A framework-prefixed reference URL** goes to the reference's one unprefixed URL. For example, `/mastra/reference/v2/hooks/useCapabilities` goes to `/reference/v2/hooks/useCapabilities`. - **A page another frontend has but the reader's doesn't** goes to the nearest parent page the reader's frontend has. For example, `/vue/voice` goes to `/vue`. This runs only where the page would otherwise 404, so live pages are unaffected. Unknown URLs still 404. Two URLs production already returned 404 for and have no clear replacement, `/guide` and `/generativ`, are left as they are. About 140 of the 398 are What's New URLs, under every framework prefix. There's no What's New page any more, so they go to the docs home. **Checks, run locally:** - 1,043/1,043 redirect checks pass, including 5 new cases. - 450/450 pages load. - The page inventory is unchanged. - Typecheck is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added permanent redirects from several outdated documentation URLs to their replacement pages, including links for release notes, FAQs, voice, hooks, and generative UI. * Known pages that are unavailable within a framework or frontend section now redirect to the closest available page or section. Unknown URLs continue to show a not-found page. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Laptopmini
added a commit
to Laptopmini/CopilotKit
that referenced
this pull request
Nov 16, 2026
…ion-progress main replaced shell-docs with the Fumadocs rebuild (CopilotKit#8327), which deleted or rewrote every file this branch touched. The merge takes main's versions; the next commit adds the progress bar to the new app.
3 of 4 tasks
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.
One PR for the docs rebuild. It replaces #8214 and the
tylerslaton/docs-shell-docs-v2stack (#8320, #8321, #8322, #8325), which had drifted onto two branches with different work on each. Both old branches stay on origin, unchanged, as archives.What does this PR do?
It replaces
showcase/shell-docswith the Fumadocs rebuild of docs.copilotkit.ai, in place. There is no second docs app. The pages stay atshowcase/shell-docs/src/content, so git records them as edits to the files that were already there. The plan is to merge this intomainand then rebase2.0.0on top.How this branch was put together
main(4d647b76e8).main's 8 newer commits don't touch the docs or the showcase, so they replayed cleanly.docs-shell-docs-v2, on top. Where they met work that feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild #8214 had and the stack didn't, the conflicts were resolved by hand, and each commit message says what changed:gpt-6-luna. A new last commit pins the 32 setup files the same way the rest of the docs and each integration's own agent code do.main's native generative UI guide (/angular/guides/generative-ui-components) moves to/angular/generative-ui/native, like the other Angular guides. It gets a redirect and a row in the Angular generative UI overview.globals.csssync and the scroll fix are applied on top ofmain's dark mode. They also coveropenai-agents-python, whichmainadded since.mainwork (for examplesetup-dotnetv6.1.0), feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild #8214's adaptations tomain, and the model pins.What's in it
/ask./examples.main's pages change in only two mechanical ways: page imports are dropped, and pages with sub-pages move toX/index.mdx(13 renames). On top of that, the docs review's fixes are a separate diff, as are a round of accuracy and link fixes from code review.public/. It keeps every file it had onmain. Only new icons and logos are added.showcase/scripts/lib/docs-searchable, with the old app's tests ported next to them. The shell image and the workflows, tests, skills and docs that named old paths are updated too.From the stack (#8320–#8325)
docs/setup/*.mdx. Stale URLs redirect, and a folded page a framework can't show sends readers to that framework's overview./angular/guides/*. React Native gets 19 feature pages. The showcase search reads both from their React slugs. The app frontends' "Using these docs" pages and Angular's feature catalog page are gone.globals.cssis now langgraph-python's,create-integrationcopies it, and a test fails on drift. The three tall demo pages scroll inside the page.(shared)route group.Review fixes (two code reviews)
info,agent/run,agent/connectandagent/stop, so the thread list, read and wipe calls are rejected./docs*URLs redirect as onmain, and unknown URLs answer 404./intelligenceis a 301 again, and Google Antigravity is back./api/telemetry/config, with a real PostHog key required in production). The old app's server-written Clerk config, which the new app doesn't have, is no longer required.node.test_unit-shell-docsbuilds and serves the app, then runs the redirect check and a request to every page. The telemetry emitter now finds the new app'strackEventcalls.Carried over from
mainThe rebuild uses
main's shared theme bridge fromshowcase/integrations/_shared/ts/theme.ts. Wheremainhad changed the old app or the same pages, its changes are carried into the rebuild in their own commits:mainmoved every OpenAI sample togpt-6-lunaand made it the only OpenAI model the allowlist ships. This branch's samples follow, withmain'sreasoning_effort="none"call shapes.main's Angular, Vue and React Native additions to the component guides, the React Native guide and its reference are kept. Its two docs-pinning tests (react-native-generative-ui-docs,vue-generative-ui-docs) now run in the showcase-scripts suite, under__tests__/docs-content.main's personless, bot-filterabledocs_pageviewandseo_redirect(cookieph_docs_id) are ported intosrc/lib/telemetry/proxy.ts.main's OpenBot section is in the new index.mainis used.What merging does
showcase_buildredeploys shell-docs, so docs.staging.copilotkit.ai serves the new app. It also redeploys shell, dojo, dashboard, the harness and every integration whose files changed. Production changes only on promote.markdown_copied,open_in_llm_clicked,docs.framework_selected,docs.frontend_selected.Not in this PR
OPENAI_API_KEYis set on the Railway docs service.src/proto.threads-importnote ona2uiGenerationToolNameswaits for feat(deps): bump @ag-ui/a2ui-middleware to 0.0.15 #8137.docs-links.json: spring-ai (2 links) and built-in-agent (1). No test checks them.Verification
Run on this branch:
test_unit-shell-docssteps):showcase-data,tsc, oxlint, the LFS fetch andnext buildpass.next start:check-redirectspasses 1034/1034, andcheck-live-pages506/506.globals.cssdrift guard across all 23 integrations andmain's two generative UI docs tests.git range-diffpairs all 64 of feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild #8214's commits unchanged. 72 of the stack branch's 75 have a counterpart. The other three are asetup-dotnetcomment fix (superseded bymain's v6.1.0 pin), itsgpt-6-lunaallowlist commit (covered by feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild #8214's own), and the scroll fix, rewritten here on top of dark mode.mainwork, the folded pages, and the model pins.Related PRs and Issues
tylerslaton/docs-shell-docs-v2.Checklist
!(for examplefeat(react-core)!: ...) and the description has aBREAKING CHANGE:line with migration steps. See VERSIONING.mdBREAKING CHANGE:
showcase/shell-docsis a new app. Its scripts, source layout and dev server follow the Fumadocs rebuild; run it withnpm install && npm run devinshowcase/shell-docs(see its README).🤖 Generated with Claude Code