Commit fc80501
committed
feat(showcase): move MDX docs routes + components + libs + content into shell-docs
Extracts everything that exists to render MDX documentation (docs/[[...slug]],
[framework]/[[...slug]], ag-ui/[[...slug]], reference/[...slug]) out of shell
into the new shell-docs package that will serve docs.showcase.copilotkit.ai.
Moves (git mv preserves history):
- App routes: /docs, /[framework], /ag-ui, /reference
- Docs-only components: docs-page-view, docs-callout, docs-steps, docs-tabs,
mdx-components, framework-tabs, framework-selector, sidebar-*, snippet,
property-reference, router-pivot, stored-framework-highlight, react/*
- Docs-only libs: lib/docs-render, lib/mdx-registry
- All content: content/docs, content/ag-ui, content/reference, content/snippets
- .docs-sync-sha marker (follows the content)
Duplicates into shell-docs (both shells need them):
- brand-nav, search-modal, search-trigger, copy-button, framework-provider
- lib/registry.ts, data/registry.json, data/demo-content.json,
data/search-index.json
- app/layout.tsx + globals.css + public/{images,logos}
shell-docs gets its own minimal middleware (PostHog-only — no SEO redirect
table, docs host never served legacy URLs). shell keeps seo-redirects.ts
for the legacy-URL migration table; framework-scope protection in its
middleware is now effectively dead but harmless (next.config.ts redirects
fire before middleware ever sees /<framework>/ paths).
InlineDemo updated for cross-host context: 'Open full demo' link points
at the shell host (showcase.copilotkit.ai) since the integration profile
route only exists there.1 parent dc73b9f commit fc80501
687 files changed
Lines changed: 18740 additions & 1 deletion
File tree
- showcase/shell-docs
- public
- images
- logos
- src
- app
- [[...slug]]
- [framework]/[[...slug]]
- ag-ui/[[...slug]]
- reference
- [...slug]
- components
- react
- content
- ag-ui
- concepts
- development
- drafts
- quickstart
- sdk
- dart
- client
- core
- encoder
- go
- client
- core
- encoding
- errors
- java
- client
- core
- server
- js
- client
- core
- kotlin
- client
- core
- tools
- python
- core
- encoder
- ruby
- core
- encoder
- rust
- client
- core
- tutorials
- docs
- (other)
- contributing
- code-contributions
- telemetry
- backend
- custom-look-and-feel
- generative-ui
- a2ui
- your-components
- human-in-the-loop
- integrations
- a2a
- generative-ui
- adk
- generative-ui
- ag2
- (other)
- contributing
- code-contributions
- telemetry
- generative-ui
- agent-spec
- generative-ui
- agno
- (other)
- contributing
- code-contributions
- telemetry
- generative-ui
- aws-strands
- (other)
- contributing
- code-contributions
- telemetry
- generative-ui
- built-in-agent
- generative-ui
- crewai-flows
- (other)
- contributing
- code-contributions
- telemetry
- advanced
- generative-ui
- human-in-the-loop
- persistence
- langgraph
- (other)
- contributing
- code-contributions
- telemetry
- advanced
- persistence
- coagent-troubleshooting
- custom-look-and-feel
- generative-ui
- a2ui
- your-components
- human-in-the-loop
- troubleshooting
- tutorials
- agent-native-app
- ai-travel-app
- videos
- llamaindex
- (other)
- contributing
- code-contributions
- telemetry
- generative-ui
- mastra
- (other)
- contributing
- code-contributions
- telemetry
- generative-ui
- human-in-the-loop
- microsoft-agent-framework
- (other)
- contributing
- code-contributions
- telemetry
- custom-look-and-feel
- generative-ui
- pydantic-ai
- generative-ui
- human-in-the-loop
- quickstart
- learn
- generative-ui
- specs
- whats-new
- multi-agent
- prebuilt-components
- reference
- v1/classes/llm-adapters
- v2/hooks
- troubleshooting
- unselected
- custom-look-and-feel
- generative-ui
- your-components
- troubleshooting
- tutorials
- ai-powered-textarea
- ai-todo-app
- reference
- components
- hooks
- snippets
- cloud
- coagents
- integrations
- adk
- agent-spec
- agno
- aws-strands
- langgraph
- llamaindex
- mastra
- microsoft-agent-framework
- pydantic-ai
- data
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
0 commit comments