|
1 | 1 | import type { DefaultTheme } from 'vitepress' |
2 | 2 |
|
3 | | -export const guideSidebar: DefaultTheme.SidebarItem[] = [ |
| 3 | +// ─────────────────────────────── English ─────────────────────────────────── |
| 4 | + |
| 5 | +export const guideSidebarEn: DefaultTheme.SidebarItem[] = [ |
| 6 | + { |
| 7 | + text: 'Getting Started', |
| 8 | + items: [ |
| 9 | + { text: 'Platform Overview', link: '/guide/' }, |
| 10 | + ] |
| 11 | + }, |
| 12 | + { |
| 13 | + text: 'Core Features', |
| 14 | + items: [ |
| 15 | + { text: 'Market', link: '/guide/market' }, |
| 16 | + { text: 'Bounties', link: '/guide/bounties' }, |
| 17 | + { text: 'AI Ask', link: '/guide/ask' }, |
| 18 | + { text: 'Biology Dashboard', link: '/guide/biology' }, |
| 19 | + { text: 'Agent Management', link: '/guide/agents' }, |
| 20 | + ] |
| 21 | + }, |
| 22 | + { |
| 23 | + text: 'Explore', |
| 24 | + items: [ |
| 25 | + { text: 'Knowledge Graph', link: '/guide/kg' }, |
| 26 | + { text: 'Sandbox', link: '/guide/sandbox' }, |
| 27 | + { text: 'Drift Bottle', link: '/guide/drift-bottle' }, |
| 28 | + { text: 'Reading Pipeline', link: '/guide/read' }, |
| 29 | + { text: 'AI Chat Assistant', link: '/guide/ai-chat' }, |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + text: 'Platform Operations', |
| 34 | + items: [ |
| 35 | + { text: 'Pricing & Economy', link: '/guide/pricing' }, |
| 36 | + { text: 'Leaderboard', link: '/guide/leaderboard' }, |
| 37 | + { text: 'Council', link: '/guide/council' }, |
| 38 | + { text: 'Blog', link: '/guide/blog' }, |
| 39 | + ] |
| 40 | + }, |
| 41 | +] |
| 42 | + |
| 43 | +export const conceptsSidebarEn: DefaultTheme.SidebarItem[] = [ |
| 44 | + { |
| 45 | + text: 'Concepts', |
| 46 | + items: [ |
| 47 | + { text: 'Overview', link: '/concepts/' }, |
| 48 | + { text: 'Homepage Data Explained', link: '/concepts/homepage-data' }, |
| 49 | + { text: 'Market Data Explained', link: '/concepts/market-data' }, |
| 50 | + { text: 'Ecosystem', link: '/concepts/ecosystem' }, |
| 51 | + { text: 'Evolution Mechanism', link: '/concepts/evolution-mechanism' }, |
| 52 | + { text: 'Agent Model', link: '/concepts/agent-model' }, |
| 53 | + { text: 'Data Pipeline', link: '/concepts/data-pipeline' }, |
| 54 | + ] |
| 55 | + }, |
| 56 | +] |
| 57 | + |
| 58 | +export const referenceSidebarEn: DefaultTheme.SidebarItem[] = [ |
| 59 | + { |
| 60 | + text: 'Reference', |
| 61 | + items: [ |
| 62 | + { text: 'Glossary', link: '/reference/glossary' }, |
| 63 | + ] |
| 64 | + }, |
| 65 | +] |
| 66 | + |
| 67 | +// ─────────────────────────────── 中文 ────────────────────────────────────── |
| 68 | + |
| 69 | +export const guideSidebarZh: DefaultTheme.SidebarItem[] = [ |
4 | 70 | { |
5 | 71 | text: '入门', |
6 | 72 | items: [ |
7 | | - { text: '平台概览', link: '/guide/' }, |
| 73 | + { text: '平台概览', link: '/zh/guide/' }, |
8 | 74 | ] |
9 | 75 | }, |
10 | 76 | { |
11 | 77 | text: '核心功能', |
12 | 78 | items: [ |
13 | | - { text: '市场', link: '/guide/market' }, |
14 | | - { text: '悬赏系统', link: '/guide/bounties' }, |
15 | | - { text: 'AI 问答', link: '/guide/ask' }, |
16 | | - { text: '生物学仪表盘', link: '/guide/biology' }, |
17 | | - { text: '智能体管理', link: '/guide/agents' }, |
| 79 | + { text: '市场', link: '/zh/guide/market' }, |
| 80 | + { text: '悬赏系统', link: '/zh/guide/bounties' }, |
| 81 | + { text: 'AI 问答', link: '/zh/guide/ask' }, |
| 82 | + { text: '生物学仪表盘', link: '/zh/guide/biology' }, |
| 83 | + { text: '智能体管理', link: '/zh/guide/agents' }, |
18 | 84 | ] |
19 | 85 | }, |
20 | 86 | { |
21 | 87 | text: '探索功能', |
22 | 88 | items: [ |
23 | | - { text: '知识图谱', link: '/guide/kg' }, |
24 | | - { text: '沙盒实验', link: '/guide/sandbox' }, |
25 | | - { text: '漂流瓶', link: '/guide/drift-bottle' }, |
26 | | - { text: '阅读管道', link: '/guide/read' }, |
27 | | - { text: 'AI 对话助手', link: '/guide/ai-chat' }, |
| 89 | + { text: '知识图谱', link: '/zh/guide/kg' }, |
| 90 | + { text: '沙盒实验', link: '/zh/guide/sandbox' }, |
| 91 | + { text: '漂流瓶', link: '/zh/guide/drift-bottle' }, |
| 92 | + { text: '阅读管道', link: '/zh/guide/read' }, |
| 93 | + { text: 'AI 对话助手', link: '/zh/guide/ai-chat' }, |
28 | 94 | ] |
29 | 95 | }, |
30 | 96 | { |
31 | 97 | text: '平台运营', |
32 | 98 | items: [ |
33 | | - { text: '定价与经济', link: '/guide/pricing' }, |
34 | | - { text: '排行榜', link: '/guide/leaderboard' }, |
35 | | - { text: '议事会', link: '/guide/council' }, |
36 | | - { text: '博客', link: '/guide/blog' }, |
| 99 | + { text: '定价与经济', link: '/zh/guide/pricing' }, |
| 100 | + { text: '排行榜', link: '/zh/guide/leaderboard' }, |
| 101 | + { text: '议事会', link: '/zh/guide/council' }, |
| 102 | + { text: '博客', link: '/zh/guide/blog' }, |
37 | 103 | ] |
38 | 104 | }, |
39 | 105 | ] |
40 | 106 |
|
41 | | -export const conceptsSidebar: DefaultTheme.SidebarItem[] = [ |
| 107 | +export const conceptsSidebarZh: DefaultTheme.SidebarItem[] = [ |
42 | 108 | { |
43 | 109 | text: '概念说明', |
44 | 110 | items: [ |
45 | | - { text: '概览', link: '/concepts/' }, |
46 | | - { text: '首页数据详解', link: '/concepts/homepage-data' }, |
47 | | - { text: '市场数据详解', link: '/concepts/market-data' }, |
48 | | - { text: '生态系统', link: '/concepts/ecosystem' }, |
49 | | - { text: '进化机制', link: '/concepts/evolution-mechanism' }, |
50 | | - { text: '智能体模型', link: '/concepts/agent-model' }, |
51 | | - { text: '数据流与管道', link: '/concepts/data-pipeline' }, |
| 111 | + { text: '概览', link: '/zh/concepts/' }, |
| 112 | + { text: '首页数据详解', link: '/zh/concepts/homepage-data' }, |
| 113 | + { text: '市场数据详解', link: '/zh/concepts/market-data' }, |
| 114 | + { text: '生态系统', link: '/zh/concepts/ecosystem' }, |
| 115 | + { text: '进化机制', link: '/zh/concepts/evolution-mechanism' }, |
| 116 | + { text: '智能体模型', link: '/zh/concepts/agent-model' }, |
| 117 | + { text: '数据流与管道', link: '/zh/concepts/data-pipeline' }, |
52 | 118 | ] |
53 | 119 | }, |
54 | 120 | ] |
55 | 121 |
|
56 | | -export const referenceSidebar: DefaultTheme.SidebarItem[] = [ |
| 122 | +export const referenceSidebarZh: DefaultTheme.SidebarItem[] = [ |
57 | 123 | { |
58 | 124 | text: '参考', |
59 | 125 | items: [ |
60 | | - { text: '术语表', link: '/reference/glossary' }, |
| 126 | + { text: '术语表', link: '/zh/reference/glossary' }, |
61 | 127 | ] |
62 | 128 | }, |
63 | 129 | ] |
0 commit comments