1
0
forked from bot/app

docs: vuepress构建文档

This commit is contained in:
2024-03-28 08:26:44 +08:00
parent 0880623930
commit 1bbd1dd234
43 changed files with 4000 additions and 2 deletions

30
docs/.vuepress/navbar.ts Normal file
View File

@ -0,0 +1,30 @@
import { navbar } from "vuepress-theme-hope";
export default navbar([
"/",
"/demo/",
{
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/",
},
]);