-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvuepress.config.js
64 lines (63 loc) · 1.55 KB
/
vuepress.config.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { viteBundler } from "@vuepress/bundler-vite";
import { defineUserConfig } from "vuepress";
import { resolve } from "path";
import { hopeTheme } from "vuepress-theme-hope";
export default defineUserConfig({
title: "Overflow",
description: "猫猫式 mirai 实现于 Onebot 11",
base: "/",
lang: "zh-CN",
locales: {
"/": {
lang: "zh-CN",
},
},
markdown: {
lineNumbers: true,
},
theme: hopeTheme({
favicon: "/assets/images/favicon-32x32.png",
logo: "/assets/images/favicon-32x32.png",
sidebar: "structure",
navbar: [
{
text: "用户手册",
link: "/docs/UserManual",
},
{
text: "开发文档",
link: "/docs/dev/",
},
{
text: "部署教程",
link: "https://wiki.mrxiaom.top/overflow",
}
],
print: false,
pure: true,
repo: "MrXiaoM/Overflow",
docsDir: "",
plugins: {
activeHeaderLinks: false,
nprogress: true,
},
lastUpdated: true,
breadcrumb: false,
pageInfo: false,
nextLink: true,
prevLink: true,
darkmode: "toggle",
}),
plugins: [
],
bundler: viteBundler({
viteOptions: {
resolve: {
alias: {
"@": resolve(__dirname, "docs"),
},
},
},
vuePluginOptions: {},
}),
});