feat(docs): 添加AI工具导航栏及侧边栏内容
- 在导航栏配置中新增AI入口,图标为机器人 - 在侧边栏添加AI相关文档分组OpenCode,包含opencode-cli和opencode-tui - 添加ChatGPT、OpenClaw、iFlow等AI工具文档链接 - 配置简化主页侧边栏显示,关闭默认侧边栏显示
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { navbar } from "vuepress-theme-hope";
|
||||
import {navbar} from "vuepress-theme-hope";
|
||||
|
||||
export default navbar([
|
||||
"/",
|
||||
@@ -22,4 +22,9 @@ export default navbar([
|
||||
icon: "mdi:toolbox",
|
||||
link: "/tools/",
|
||||
},
|
||||
{
|
||||
text: "AI",
|
||||
icon: "mdi:robot-outline",
|
||||
link: "/ai/",
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -231,5 +231,25 @@ export default sidebar({
|
||||
],
|
||||
},
|
||||
],
|
||||
"/ai/": [
|
||||
{
|
||||
text: "OpenCode",
|
||||
icon: "mdi:application-braces-outline",
|
||||
collapsible: true,
|
||||
children: [
|
||||
{
|
||||
text: "opencode-cli",
|
||||
link: "opencode.md",
|
||||
},
|
||||
{
|
||||
text: "opencode-tui",
|
||||
link: "opencode-tui.md",
|
||||
},
|
||||
],
|
||||
},
|
||||
"chatgpt.md",
|
||||
"openclaw.md",
|
||||
"iflow.md",
|
||||
],
|
||||
"/": false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user