-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvuepress.config.ts
51 lines (48 loc) · 1.39 KB
/
vuepress.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
41
42
43
44
45
46
47
48
49
50
import { defineUserConfig, defaultTheme } from 'vuepress';
import { docsearchPlugin } from '@vuepress/plugin-docsearch';
export default defineUserConfig({
lang: 'zh-CN',
title: '子非鱼',
description: 'Zifeiyu\'s site',
theme: defaultTheme({
repo: 'https://github.com/biyingshuai/biyingshuai.github.io',
toggleColorMode: '切换颜色模式',
navbar: [{
text: '说明',
link: '/',
},],
sidebar: [
// SidebarItem
{
text: '菜花炒肉',
link: '/chcr.html',
},
],
}),
plugins: [
// docsearchPlugin({
// apiKey: '',
// indexName: '',
// appId: '',
// disableUserPersonalization: true,
// locales: {
// '/': {
// placeholder: 'Search Documentation',
// translations: {
// button: {
// buttonText: 'Search Documentation',
// },
// },
// },
// '/zh/': {
// placeholder: '搜索',
// translations: {
// button: {
// buttonText: '搜索',
// },
// },
// },
// },
// }),
],
})