forked from go-admin-team/go-admin-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.umirc.ts
43 lines (42 loc) · 1.02 KB
/
.umirc.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
import { defineConfig } from 'dumi';
export default defineConfig({
title: 'go-admin',
mode: 'site',
logo:
'https://raw.githubusercontent.com/wenjianzhang/image/master/img/go-admin.png',
navs: {
'en-US': [
null,
{ title: 'GitHub', path: 'https://github.com/go-admin-team/go-admin' },
{
title: 'Changelog',
path: 'https://github.com/go-admin-team/go-admin/releases',
},
],
'zh-CN': [
null,
{ title: 'GitHub', path: 'https://github.com/go-admin-team/go-admin' },
{
title: '更新日志',
path: 'https://github.com/go-admin-team/go-admin/releases',
},
],
},
sitemap: {
hostname: 'https://doc.go-admin.dev',
},
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: 'css',
},
],
],
fastRefresh: {},
hash: true,
scripts: ['https://hm.baidu.com/hm.js?f98a2f382011d17906899de9f676b294'],
// more config: https://d.umijs.org/config
});