-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dumirc.ts
46 lines (45 loc) · 1.14 KB
/
.dumirc.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
import { defineConfig } from 'dumi';
export default defineConfig({
favicons: [
'https://img.alicdn.com/imgextra/i2/O1CN01ZAedQu1xiyboFhMKk_!!6000000006478-55-tps-200-200.svg',
],
outputPath: 'docs-dist',
base: '/blog/',
publicPath: '/blog/',
styles: [`body { --font-size-body-1: 16px; }`],
themeConfig: {
name: 'xsahxl',
logo: 'https://img.alicdn.com/imgextra/i2/O1CN01ZAedQu1xiyboFhMKk_!!6000000006478-55-tps-200-200.svg',
nav: [
{
title: '随笔',
link: '/note/giscus',
activePath: '/note',
},
{
title: '面试题',
link: '/learn/debounce-throttle',
activePath: '/learn',
},
{
title: '踩坑日记',
link: '/faq/debug',
activePath: '/faq',
},
{
title: '那些好用的包',
link: '/npm/ajv',
activePath: '/npm',
},
{
title: '组件',
link: 'https://xsahxl.github.io',
},
] as any,
socialLinks: {
github: 'https://github.com/xsahxl/blog',
},
footer: `Copyright © ${new Date().getFullYear()} | Powered by xsahxl`,
showLineNum: true,
},
});