blog/src/.vuepress/sidebar.ts
LiuMangMang 375218728e docs:重构文档结构并添加新内容
- 新增工具箱分类,移动相关文档
- 添加 GKD(搞快点)软件推荐文章
- 更新工作日志和常用代码示例
-优化网站配置和样式
2025-07-25 13:50:48 +08:00

84 lines
2.5 KiB
TypeScript

import { sidebar } from "vuepress-theme-hope";
//VuePress Theme Hope主题的博客
export default sidebar({
"/programming/": [
{
text: "Java",
collapsible: true,
expanded: false,
icon: "mdi:language-java", // 这个还是合适的
prefix: "java/",
children: [
{
text: "框架",
icon: "mdi:code-braces", // 更适合框架的图标
collapsible: true,
prefix: "框架/",
children: "structure",
},
{
text: "工具箱",
icon: "mdi:toolbox", // 更适合工具箱的图标
collapsible: true,
prefix: "工具箱/",
children: "structure",
},
{
text: "试题",
icon: "mdi:comment-question", // 更适合试题的图标
collapsible: true,
prefix: "AI试题/",
children: "structure",
},
]
},
{
text: "Linux",
collapsible: true,
expanded: false,
icon: "mdi:linux", // 这个仍然适用
prefix: "linux/",
children: [
{
text: "凝思",
icon: "mdi:linux", // 还是适合Linux的图标
collapsible: true,
prefix: "凝思/",
children: "structure",
},
]
},
{
text: "Docker",
collapsible: true,
expanded: false,
icon: "mdi:docker", // 这个仍然适合Docker
prefix: "docker/",
children: "structure",
}
],
"/work/": [
{
text: "日志",
collapsible: true,
expanded: false,
icon: "mdi:file-document", // 更适合日志的图标
prefix: "log/",
children: "structure",
},
{
text: "常用",
icon: "mdi:briefcase-variant", // 更通用的文件图标
link: "/work/常用.md",
}
],
"/tools/": [
{
text: "工具箱",
icon: "mdi:toolbox",
collapsible: true,
children: "structure",
},
]
});