feat: init vitepress

This commit is contained in:
myml
2023-02-13 13:09:10 +08:00
parent 4273971652
commit df5940d76f
11 changed files with 845 additions and 0 deletions

25
docs/.vitepress/config.js Normal file
View File

@@ -0,0 +1,25 @@
export default {
title: "标题",
description: "详细介绍",
themeConfig: {
sidebar: [
{
text: "初级",
items: [
{ text: "初级1", link: "/初级/初级1" },
{ text: "初级2", link: "/初级/初级2" },
{ text: "初级3", link: "/初级/初级3" },
],
},
{
text: "中级",
items: [
{ text: "中级1", link: "/中级/中级1" },
{ text: "中级2", link: "/中级/中级2" },
{ text: "中级3", link: "/中级/中级3" },
],
},
],
},
};