Skip to content

Commit 62096b0

Browse files
committed
docs: restructure sidebar — agents first, 3.x under Real-Time Infrastructure
CLI moved to Getting Started; @Agent/@Coordinator/channels/protocols become main tutorial path; @ManagedService/Broadcaster/Rooms/WebSocket grouped under Real-Time Infrastructure (collapsed); AI/LLM promoted to top of Reference
1 parent 091ce34 commit 62096b0

1 file changed

Lines changed: 19 additions & 29 deletions

File tree

docs/astro.config.mjs

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,59 +27,49 @@ export default defineConfig({
2727
label: 'Getting Started',
2828
items: [
2929
{ label: 'Welcome', slug: 'welcome' },
30+
{ label: 'Architecture', slug: 'architecture' },
31+
{ label: 'CLI', slug: 'tutorial/00-cli' },
32+
{ label: 'First App', slug: 'tutorial/02-getting-started' },
3033
{ label: "What's New in 4.0", slug: 'whats-new' },
3134
],
3235
},
33-
{
34-
label: 'Agents',
35-
items: [
36-
{ label: '@Agent', slug: 'agents/agent' },
37-
{ label: '@Coordinator', slug: 'agents/coordinator' },
38-
{ label: 'Skills', slug: 'agents/skills' },
39-
{ label: 'A2A Protocol', slug: 'agents/a2a' },
40-
{ label: 'AG-UI Protocol', slug: 'agents/agui' },
41-
],
42-
},
4336
{
4437
label: 'Tutorial',
4538
items: [
4639
{
47-
label: 'Getting Started',
40+
label: 'Agents',
4841
collapsed: false,
4942
items: [
50-
{ label: 'Install & Run', slug: 'tutorial/00-cli' },
5143
{ label: 'Introduction', slug: 'tutorial/01-introduction' },
52-
{ label: 'First App', slug: 'tutorial/02-getting-started' },
44+
{ label: '@Agent & @Prompt', slug: 'agents/agent' },
45+
{ label: '@AiTool & Human-in-the-Loop', slug: 'tutorial/10-ai-tools' },
46+
{ label: '@Command & Skill Files', slug: 'agents/skills' },
47+
{ label: '@Coordinator & Multi-Agent', slug: 'agents/coordinator' },
48+
{ label: 'AI Adapters', slug: 'tutorial/11-ai-adapters' },
49+
{ label: 'AI Filters & Routing', slug: 'tutorial/12-ai-filters' },
50+
{ label: 'Channels', slug: 'tutorial/23-channels' },
5351
],
5452
},
5553
{
56-
label: 'AI & LLM Streaming',
54+
label: 'Protocols',
5755
collapsed: false,
5856
items: [
59-
{ label: '@AiEndpoint & Streaming', slug: 'tutorial/09-ai-endpoint' },
60-
{ label: '@AiTool', slug: 'tutorial/10-ai-tools' },
61-
{ label: 'AI Adapters', slug: 'tutorial/11-ai-adapters' },
62-
{ label: 'AI Filters & Routing', slug: 'tutorial/12-ai-filters' },
6357
{ label: 'MCP Server', slug: 'tutorial/13-mcp' },
58+
{ label: 'A2A Protocol', slug: 'agents/a2a' },
59+
{ label: 'AG-UI Protocol', slug: 'agents/agui' },
6460
],
6561
},
6662
{
67-
label: 'Core Concepts',
68-
collapsed: false,
63+
label: 'Real-Time Infrastructure',
64+
collapsed: true,
6965
items: [
66+
{ label: '@AiEndpoint & Streaming', slug: 'tutorial/09-ai-endpoint' },
7067
{ label: '@ManagedService', slug: 'tutorial/03-managed-service' },
7168
{ label: 'Transports', slug: 'tutorial/04-transports' },
7269
{ label: 'Broadcaster & Pub/Sub', slug: 'tutorial/05-broadcaster' },
7370
{ label: 'Rooms & Presence', slug: 'tutorial/06-rooms' },
74-
],
75-
},
76-
{
77-
label: 'Advanced',
78-
collapsed: true,
79-
items: [
8071
{ label: 'WebSocket Deep Dive', slug: 'tutorial/07-websocket' },
8172
{ label: 'Interceptors', slug: 'tutorial/08-interceptors' },
82-
{ label: 'atmosphere.js Client', slug: 'tutorial/19-client' },
8373
{ label: 'gRPC & Kotlin', slug: 'tutorial/20-grpc-kotlin' },
8474
],
8575
},
@@ -101,10 +91,10 @@ export default defineConfig({
10191
{
10292
label: 'Reference',
10393
items: [
104-
{ label: 'Core Runtime', slug: 'reference/core' },
105-
{ label: 'Rooms & Presence', slug: 'reference/rooms' },
10694
{ label: 'AI / LLM', slug: 'reference/ai' },
10795
{ label: 'AI Testing', slug: 'reference/testing' },
96+
{ label: 'Core Runtime', slug: 'reference/core' },
97+
{ label: 'Rooms & Presence', slug: 'reference/rooms' },
10898
{ label: 'MCP Server', slug: 'reference/mcp' },
10999
{ label: 'gRPC Transport', slug: 'reference/grpc' },
110100
{ label: 'Kotlin DSL', slug: 'reference/kotlin' },

0 commit comments

Comments
 (0)