-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathconfig.ts
40 lines (39 loc) · 984 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { defineUserConfig, defaultTheme } from "vuepress";
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
export default defineUserConfig({
lang: "zh-CN",
title: "Nonebot Bison",
description: "Docs for Nonebot Bison",
plugins: [
mdEnhancePlugin({
mermaid: true,
}),
],
theme: defaultTheme({
navbar: [
{ text: "主页", link: "/" },
{
text: "使用",
children: [
{
text: "安装",
link: "/usage/install.md",
activeMatch: "^/usage/install",
},
{
text: "入门",
link: "/usage/easy-use.md",
activeMatch: "^/usage/easy-use",
},
{
text: "详述",
link: "/usage",
activeMatch: "^/usage$",
},
],
},
{ text: "开发", link: "/dev/" },
{ text: "Github", link: "https://github.com/felinae98/nonebot-bison" },
],
}),
});