blog/src/.vuepress/sidebar.ts

84 lines
2.5 KiB
TypeScript
Raw Normal View History

import { sidebar } from "vuepress-theme-hope";
//VuePress Theme Hope主题的博客
2025-05-07 17:52:05 +08:00
export default sidebar({
"/programming/": [
{
text: "Java",
collapsible: true,
expanded: false,
icon: "mdi:language-java", // 这个还是合适的
2025-05-07 17:52:05 +08:00
prefix: "java/",
children: [
{
2025-05-07 22:37:21 +08:00
text: "框架",
icon: "mdi:code-braces", // 更适合框架的图标
2025-05-07 17:52:05 +08:00
collapsible: true,
2025-05-07 22:37:21 +08:00
prefix: "框架/",
children: "structure",
},
{
text: "工具箱",
icon: "mdi:toolbox", // 更适合工具箱的图标
2025-05-07 22:37:21 +08:00
collapsible: true,
prefix: "工具箱/",
2025-05-07 17:52:05 +08:00
children: "structure",
},
{
text: "试题",
icon: "mdi:comment-question", // 更适合试题的图标
collapsible: true,
prefix: "AI试题/",
children: "structure",
},
2025-05-07 17:52:05 +08:00
]
},
{
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",
2025-05-07 17:52:05 +08:00
}
],
"/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",
},
2025-05-07 17:52:05 +08:00
]
});