1
0
forked from bot/app

docs: vuepress构建文档

This commit is contained in:
2024-03-28 08:31:49 +08:00
parent a8f6a25369
commit 0ac374f5df
41 changed files with 4041 additions and 0 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/",
},
]);