structure change commited

This commit is contained in:
zeroornull
2025-03-25 22:54:22 +08:00
parent 202488a94c
commit d1fc0c6373
6 changed files with 650 additions and 33 deletions

View File

@@ -3,7 +3,7 @@ import { navbar } from "vuepress-theme-hope";
export default navbar([
"/",
"/portfolio",
"/demo/",
// "/demo/",
{
text: "面试",
link: "/interview/",
@@ -12,27 +12,37 @@ export default navbar([
// activeMatch: "^/interview/$",
},
{
text: "指南",
text: "Java",
link: "/java/",
icon: "lightbulb",
prefix: "/guide/",
children: [
{
text: "Bar",
icon: "lightbulb",
prefix: "bar/",
children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
},
{
text: "Foo",
icon: "lightbulb",
prefix: "foo/",
children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
},
],
},
{
text: "V2 文档",
icon: "book",
link: "https://theme-hope.vuejs.press/zh/",
text: "Python",
link: "/python/",
icon: "lightbulb",
},
// {
// text: "指南",
// icon: "lightbulb",
// prefix: "/guide/",
// children: [
// {
// text: "Bar",
// icon: "lightbulb",
// prefix: "bar/",
// children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
// },
// {
// text: "Foo",
// icon: "lightbulb",
// prefix: "foo/",
// children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
// },
// ],
// },
// {
// text: "V2 文档",
// icon: "book",
// link: "https://theme-hope.vuejs.press/zh/",
// },
]);

View File

@@ -4,19 +4,19 @@ export default sidebar({
"/": [
"",
"portfolio",
{
text: "案例",
icon: "laptop-code",
prefix: "demo/",
link: "demo/",
children: "structure",
},
{
text: "文档",
icon: "book",
prefix: "guide/",
children: "structure",
},
// {
// text: "案例",
// icon: "laptop-code",
// prefix: "demo/",
// link: "demo/",
// children: "structure",
// },
// {
// text: "文档",
// icon: "book",
// prefix: "guide/",
// children: "structure",
// },
{
text: "面试",
icon: "lightbulb",
@@ -30,4 +30,6 @@ export default sidebar({
},
],
"/interview/": "structure",
"/java/": "structure",
"/python/": "structure",
});