Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions docs/.vitepress/locales/en/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ function buildDocsSidebar(): DefaultTheme.SidebarItem[] {
return !link.endsWith('/mcp') && !link.endsWith('/docs/api')
})

// Move AI Agent item to the end and set collapsed: true
const aiAgentIndex = items.findIndex((item) => {
const link = typeof item.link === 'string' ? item.link : ''
return link.includes('/ai')
})

if (aiAgentIndex !== -1) {
const aiAgentItem = items.splice(aiAgentIndex, 1)[0]
aiAgentItem.collapsed = true
items.push(aiAgentItem)
}

items.push(apiRefItem)
return items
}
Expand Down
12 changes: 0 additions & 12 deletions docs/.vitepress/locales/zh-CN/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ function buildDocsSidebar(): DefaultTheme.SidebarItem[] {
return !link.endsWith('/mcp') && !link.endsWith('/docs/api')
})

// Move AI Agent item to the end and set collapsed: true
const aiAgentIndex = items.findIndex((item) => {
const link = typeof item.link === 'string' ? item.link : ''
return link.includes('/ai')
})

if (aiAgentIndex !== -1) {
const aiAgentItem = items.splice(aiAgentIndex, 1)[0]
aiAgentItem.collapsed = true
items.push(aiAgentItem)
}

items.push(apiRefItem)
return items
}
Expand Down
12 changes: 0 additions & 12 deletions docs/.vitepress/locales/zh-HK/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ function buildDocsSidebar(): DefaultTheme.SidebarItem[] {
return !link.endsWith('/mcp') && !link.endsWith('/docs/api')
})

// Move AI Agent item to the end and set collapsed: true
const aiAgentIndex = items.findIndex((item) => {
const link = typeof item.link === 'string' ? item.link : ''
return link.includes('/ai')
})

if (aiAgentIndex !== -1) {
const aiAgentItem = items.splice(aiAgentIndex, 1)[0]
aiAgentItem.collapsed = true
items.push(aiAgentItem)
}

items.push(apiRefItem)
return items
}
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/theme/utils/gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const SIDEBAR_ICONS: Record<string, string> = {
book: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/></svg>`,
zap: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>`,
cpu: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="1" x2="9" y2="4"/><line x1="15" y1="1" x2="15" y2="4"/><line x1="9" y1="20" x2="9" y2="23"/><line x1="15" y1="20" x2="15" y2="23"/><line x1="20" y1="9" x2="23" y2="9"/><line x1="20" y1="14" x2="23" y2="14"/><line x1="1" y1="9" x2="4" y2="9"/><line x1="1" y1="14" x2="4" y2="14"/></svg>`,
bot: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8V4H8"/><rect width="16" height="12" x="4" y="8" rx="2"/><path d="M2 14h2"/><path d="M20 14h2"/><path d="M15 13v2"/><path d="M9 13v2"/></svg>`,
terminal: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>`,
sparkles: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3 9.27 9.27 3 12l6.27 2.73L12 21l2.73-6.27L21 12l-6.27-2.73z"/><path d="M19.5 4.5 18 6l1.5 1.5L21 6z"/><path d="M4.5 19.5 6 18l-1.5-1.5L3 18z"/></svg>`,
'bar-chart-2': `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>`,
Expand Down
4 changes: 2 additions & 2 deletions docs/en/docs/ai/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 2.7,
"icon": "cpu"
"position": 6.1,
"icon": "bot"
}
2 changes: 1 addition & 1 deletion docs/en/docs/ai/chat/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 1,
"label": "Conversation",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
2 changes: 1 addition & 1 deletion docs/en/docs/ai/workspace/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 0,
"label": "Workspace",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
5 changes: 3 additions & 2 deletions docs/en/docs/market/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 3.7
}
"position": 3.7,
"icon": "line-chart"
}
3 changes: 2 additions & 1 deletion docs/en/docs/screener/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": true,
"link": null,
"position": 4.5
"position": 4.5,
"icon": "search"
}
4 changes: 2 additions & 2 deletions docs/zh-CN/docs/ai/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 2.7,
"icon": "cpu"
"position": 6.1,
"icon": "bot"
}
2 changes: 1 addition & 1 deletion docs/zh-CN/docs/ai/chat/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 1,
"label": "对话",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
2 changes: 1 addition & 1 deletion docs/zh-CN/docs/ai/workspace/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 0,
"label": "工作空间",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
5 changes: 3 additions & 2 deletions docs/zh-CN/docs/market/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 3.7
}
"position": 3.7,
"icon": "line-chart"
}
3 changes: 2 additions & 1 deletion docs/zh-CN/docs/screener/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": true,
"link": null,
"position": 4.5
"position": 4.5,
"icon": "search"
}
4 changes: 2 additions & 2 deletions docs/zh-HK/docs/ai/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 2.7,
"icon": "cpu"
"position": 6.1,
"icon": "bot"
}
2 changes: 1 addition & 1 deletion docs/zh-HK/docs/ai/chat/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 1,
"label": "對話",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
2 changes: 1 addition & 1 deletion docs/zh-HK/docs/ai/workspace/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 0,
"label": "工作空間",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
5 changes: 3 additions & 2 deletions docs/zh-HK/docs/market/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": false,
"link": null,
"position": 3.7
}
"position": 3.7,
"icon": "line-chart"
}
3 changes: 2 additions & 1 deletion docs/zh-HK/docs/screener/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"collapsible": true,
"collapsed": true,
"link": null,
"position": 4.5
"position": 4.5,
"icon": "search"
}
Loading