Skip to content

Commit b37a304

Browse files
committed
fix(shell-docs): remove hardcoded langgraph-python from main docs MDX
Strip snippet_framework: langgraph-python from frontmatter and integration="langgraph-python" from all InlineDemo tags in the main docs tree (27 files). On framework-scoped pages frameworkOverride drives Snippet and InlineDemo; on unscoped pages FrameworkGuardedContent already hides the body until a framework is selected, so no default is needed.
1 parent a043aa5 commit b37a304

27 files changed

Lines changed: 31 additions & 57 deletions

showcase/shell-docs/src/content/docs/agentic-chat-ui.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Chat Components
33
icon: "lucide/MessageSquare"
44
description: Customizable, drop-in components for building AI-powered chat interfaces
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: agentic-chat
87
---
98

@@ -22,7 +21,7 @@ They handle streaming, generative UI, and deep customization — so you can focu
2221
muted
2322
/>
2423

25-
<InlineDemo integration="langgraph-python" demo="agentic-chat" />
24+
<InlineDemo demo="agentic-chat" />
2625

2726
## What it looks like in code
2827

showcase/shell-docs/src/content/docs/custom-look-and-feel/css.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "CSS Customization"
33
icon: "lucide/Palette"
44
description: "Theme CopilotKit components via CSS variables and class overrides."
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: chat-customization-css
87
---
98

@@ -21,7 +20,7 @@ If you need to change behavior — not just look — see
2120
[slots](/custom-look-and-feel/slots) or
2221
[fully headless UI](/custom-look-and-feel/headless-ui).
2322

24-
<InlineDemo integration="langgraph-python" demo="chat-customization-css" />
23+
<InlineDemo demo="chat-customization-css" />
2524

2625
## Scoping the theme
2726

showcase/shell-docs/src/content/docs/custom-look-and-feel/headless-ui.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "Fully Headless UI"
33
description: "Build any UI — chat or not — on top of the CopilotKit primitives with zero UI opinions."
44
icon: "lucide/Settings"
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: headless-complete
87
---
98

@@ -20,7 +19,7 @@ Use headless UI when:
2019
- You're building a **non-chat surface** that still talks to an agent (a dashboard, a canvas, an inspector) and want `useRenderToolCall` / `useRenderActivityMessage` on their own.
2120
- You want to render generative UI primitives outside of a chat entirely.
2221

23-
<InlineDemo integration="langgraph-python" demo="headless-complete" />
22+
<InlineDemo demo="headless-complete" />
2423

2524
## The core hooks
2625

showcase/shell-docs/src/content/docs/custom-look-and-feel/reasoning-messages.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Reasoning Messages
33
icon: "lucide/Brain"
44
description: "Customize how reasoning (thinking) tokens from models like o1, o3, and o4-mini are displayed."
5-
snippet_framework: langgraph-python
65
snippet_cell: agentic-chat-reasoning
76
---
87

@@ -28,7 +27,7 @@ built-in card that:
2827
No extra configuration is needed — if your model emits reasoning tokens,
2928
the card appears automatically.
3029

31-
<InlineDemo integration="langgraph-python" demo="reasoning-default-render" />
30+
<InlineDemo demo="reasoning-default-render" />
3231

3332
<Snippet
3433
cell="reasoning-default-render"
@@ -159,7 +158,7 @@ slot props. Your component receives the same top-level props as the built-in one
159158
| `messages` | `Message[]` | All messages in the conversation |
160159
| `isRunning` | `boolean` | Whether the agent is currently running |
161160

162-
<InlineDemo integration="langgraph-python" demo="agentic-chat-reasoning" />
161+
<InlineDemo demo="agentic-chat-reasoning" />
163162

164163
<Snippet region="reasoning-block-render" title="frontend/src/app/page.tsx — custom reasoning slot" />
165164

showcase/shell-docs/src/content/docs/custom-look-and-feel/slots.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "Slots (Subcomponents)"
33
icon: "lucide/Brush"
44
description: "Customize any part of the chat UI by overriding individual sub-components via slots."
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: chat-slots
87
---
98

@@ -17,7 +16,7 @@ Every CopilotKit chat component is built from composable **slots** — named sub
1716

1817
Slots are recursive — you can drill into nested sub-components at any depth.
1918

20-
<InlineDemo integration="langgraph-python" demo="chat-slots" />
19+
<InlineDemo demo="chat-slots" />
2120

2221
## What it looks like in code
2322

showcase/shell-docs/src/content/docs/frontend-tools.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Frontend Tools
33
icon: "lucide/Wrench"
44
description: Let your agent interact with and update your application's UI.
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: frontend-tools
87
---
98

@@ -20,7 +19,7 @@ This page covers the "agent drives the UI" shape of frontend tools. (The same
2019
primitive also powers Generative UI and Human-in-the-loop — see those pages
2120
for interaction patterns.)
2221

23-
<InlineDemo integration="langgraph-python" demo="frontend-tools" />
22+
<InlineDemo demo="frontend-tools" />
2423

2524
## When should I use this?
2625

showcase/shell-docs/src/content/docs/generative-ui/a2ui/dynamic-schema.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "Dynamic Schema A2UI"
33
icon: "lucide/Sparkles"
44
description: "LLM-generated A2UI — a secondary LLM creates both the schema and data from any prompt."
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: declarative-gen-ui
87
---
98

@@ -12,7 +11,7 @@ UI — schema, data, and layout — based on the conversation context.
1211
It's the most flexible A2UI flavor: the agent can render any UI for
1312
any request without pre-defined schemas.
1413

15-
<InlineDemo integration="langgraph-python" demo="declarative-gen-ui" />
14+
<InlineDemo demo="declarative-gen-ui" />
1615

1716
## How it works
1817

showcase/shell-docs/src/content/docs/generative-ui/a2ui/fixed-schema.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "Fixed Schema A2UI"
33
icon: "lucide/FileJson"
44
description: "Pre-defined A2UI schema with dynamic data. The fastest approach — no LLM schema generation needed."
55
hideTOC: true
6-
snippet_framework: langgraph-python
76
snippet_cell: a2ui-fixed-schema
87
---
98

@@ -13,7 +12,7 @@ save it as JSON next to your agent. The agent tool only provides the
1312
*data* — the surface appears instantly when the tool returns because
1413
nothing has to be generated at runtime.
1514

16-
<InlineDemo integration="langgraph-python" demo="a2ui-fixed-schema" />
15+
<InlineDemo demo="a2ui-fixed-schema" />
1716

1817
## How it works
1918

showcase/shell-docs/src/content/docs/generative-ui/mcp-apps.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: "MCP Apps"
33
icon: "lucide/Monitor"
44
description: "Render interactive UI components from MCP servers directly in your chat interface."
5-
snippet_framework: langgraph-python
65
snippet_cell: mcp-apps
76
---
87

@@ -20,7 +19,7 @@ Key benefits:
2019
- **Secure sandboxing** — content runs in isolated iframes
2120
- **Thread persistence** — MCP Apps are stored in conversation history and restored on reconnect
2221

23-
<InlineDemo integration="langgraph-python" demo="mcp-apps" />
22+
<InlineDemo demo="mcp-apps" />
2423

2524
## Wire the runtime to your MCP server(s)
2625

showcase/shell-docs/src/content/docs/generative-ui/open-generative-ui.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: "Open Generative UI"
33
icon: "lucide/Code"
44
description: "Let agents generate fully interactive HTML/CSS/JS UIs that stream live into the chat."
5-
snippet_framework: langgraph-python
65
snippet_cell: open-gen-ui
76
---
87

@@ -21,7 +20,7 @@ Key benefits:
2120
- **Secure sandboxing** — content runs in an isolated iframe without same-origin access
2221
- **Sandbox functions** — optionally expose host functions to the generated UI for two-way communication
2322

24-
<InlineDemo integration="langgraph-python" demo="open-gen-ui" />
23+
<InlineDemo demo="open-gen-ui" />
2524

2625
## Minimal setup
2726

@@ -52,7 +51,7 @@ Sandbox functions let the generated UI call back into your host application
5251
push items into your cart, or a data view can ask the host to fetch data the
5352
iframe can't reach directly.
5453

55-
<InlineDemo integration="langgraph-python" demo="open-gen-ui-advanced" />
54+
<InlineDemo demo="open-gen-ui-advanced" />
5655

5756
### Runtime is unchanged
5857

0 commit comments

Comments
 (0)