-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvuepress.config.ts
115 lines (115 loc) · 2.86 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import { defineUserConfig, defaultTheme } from 'vuepress';
import { searchPlugin } from '@vuepress/plugin-search';
const baseAddress = '/zyq-docs/';
export default defineUserConfig({
lang: 'zh-CN',
title: '爱哭的赵一一',
description:
'爱哭的赵一一前端个人学习站点,总结个人学习历程与经验,介绍两大框架React、Vue和各类常见算法(排序算法、最长递增子序列、优先队列)等等。以及前端开发中的奇技淫巧,帮助你提升自身能力获取高薪工作',
head: [['link', { rel: 'icon', href: `${baseAddress}images/header-logo.jpg` }]],
theme: defaultTheme({
navbar: [
{ text: '主页', link: '/' },
{
text: 'Vue',
link: '/vue/',
},
{
text: 'React',
link: '/react/',
},
{
text: 'Typescript',
link: '/typescript/',
},
{
text: 'Git',
link: '/git/',
},
{
text: '数据库',
link: '/database/',
},
{
text: 'node',
link: '/node/',
},
{
text: 'CI/CD',
link: '/ci-cd/',
},
{
text: '正则',
link: '/re/',
},
{
text: '奇技淫巧',
children: [
{
text: 'Promise',
link: '/skill/promise/',
},
{
text: '杂七杂八',
link: '/skill/messy/',
},
],
},
{
text: '算法',
children: [
{
text: '二分法',
link: '/algorithm/binnary/',
},
{
text: '双指针',
link: '/algorithm/double-pointer/',
},
{
text: '动态规划',
link: '/algorithm/dp/',
},
{
text: '二叉树',
link: '/algorithm/binnary-tree/',
},
{
text: '排序算法',
link: '/algorithm/sort/',
},
{
text: '堆',
link: '/algorithm/heap/',
},
{
text: 'LRU缓存',
link: '/algorithm/lru/',
},
],
},
{
text: '面试',
link: '/interview/',
},
{ text: 'B站主页', link: 'https://space.bilibili.com/279282087' },
{
text: '掘金主页',
link: 'https://juejin.cn/user/3447712806348557/posts',
},
// 下拉列表的配置
// {
// text: "Languages",
// children: [
// { text: "Chinese", link: "/language/chinese" },
// { text: "English", link: "/language/English" },
// ],
// },
],
logo: '/images/header-logo.jpg',
notFound: ['页面找不到啦~ 去首页看看吧!'],
backToHome: '返回首页',
}),
base: baseAddress,
plugins: [searchPlugin()],
});