-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ts
56 lines (55 loc) · 1.49 KB
/
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
import { defineConfig } from 'vitepress';
import { getViteConfig } from './vite-config';
import { getMarkDownConfig } from './markdown-config';
export default defineConfig({
vite: getViteConfig(),
markdown: getMarkDownConfig(),
base: '/blog/',
title: '莱米',
lang: 'zh-CN',
description: '莱米的个人博客',
themeConfig: {
siteTitle: 'limy-blog',
logo: '/logo.jpg',
nav: [
{ text: '基础知识', link: '/knowledge/html/basic' },
{ text: '编程思想', link: '/design/design-pattern/observer' },
{ text: '后端', link: '/backend/mysql/database' },
{
text: '计算机网络',
link: '/network/basic/http'
},
{
text: 'Node.js',
items: [
{
text: '工程化',
link: '/engineer/packages/yalc'
},
{
text: '基础',
link: '/nodejs/basic/stream.md'
}
]
},
{ text: '读书笔记', link: '/book-note/vuejs-design/1' },
{
text: '手写题',
link: 'https://mingyuli97.github.io/fe-code-challenges/'
},
// { text: '面试题', link: '/interview/index' },
{ text: '我的掘金', link: 'https://juejin.cn/user/2383396941081934' }
],
socialLinks: [
{
icon: 'github',
link: 'https://github.com/mingyuLi97'
}
],
algolia: {
appId: 'H6NWHVLNUL',
apiKey: 'a7233c5dfa7ed655817ff82d5e8dfa5c',
indexName: 'vitepress-blog'
}
}
});