perf: add helpLink for each page

This commit is contained in:
Junyan Qin
2025-05-11 16:35:59 +08:00
parent 37343bde66
commit cc2d8588c4
6 changed files with 37 additions and 4 deletions
@@ -17,6 +17,7 @@ export const sidebarConfigList = [
),
route: '/home/bots',
description: '创建和管理机器人,这是 LangBot 与各个平台连接的入口',
helpLink: 'https://docs.langbot.app/deploy/platforms/readme.html',
}),
new SidebarChildVO({
id: 'models',
@@ -33,6 +34,7 @@ export const sidebarConfigList = [
),
route: '/home/models',
description: '配置和管理可在流水线中使用的模型',
helpLink: 'https://docs.langbot.app/deploy/models/readme.html',
}),
new SidebarChildVO({
id: 'pipelines',
@@ -49,6 +51,7 @@ export const sidebarConfigList = [
),
route: '/home/pipelines',
description: '流水线定义了对消息事件的处理流程,用于绑定到机器人',
helpLink: 'https://docs.langbot.app/deploy/pipelines/readme.html',
}),
new SidebarChildVO({
id: 'plugins',
@@ -65,5 +68,6 @@ export const sidebarConfigList = [
),
route: '/home/plugins',
description: '安装和配置用于扩展 LangBot 功能的插件',
helpLink: 'https://docs.langbot.app/plugin/plugin-intro.html',
}),
];