forked from antvis/L7Draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
72 lines (70 loc) · 1.76 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
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
import { defineConfig } from 'dumi';
const isProduction = process.env.NODE_ENV === 'production';
export default defineConfig({
title: 'L7Draw',
favicon:
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*7svFR6wkPMoAAAAAAAAAAAAADmJ7AQ/original',
logo: 'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
mode: 'site',
extraBabelIncludes: ['@antv/dumi-theme-antv'],
navs: [
{
title: '文档',
path: '/docs',
},
{
title: '示例',
path: '/example',
},
{
title: '周边生态',
children: [
{
title: 'L7',
path: 'https://l7.antv.antgroup.com/',
},
{
title: 'L7Plot',
path: 'https://l7plot.antv.antgroup.com/',
},
{
title: 'LarkMap',
path: 'https://larkmap.antv.antgroup.com/',
},
{
title: 'Location Insight',
path: 'https://locationinsight.antv.antgroup.com/',
},
{
title: 'L7Editor',
path: 'https://li.antv.antgroup.com/#/home',
},
],
},
{
title: '历史版本',
children: [
{
title: '2.x',
path: 'https://antv.vision/l7draw-2.x-site/',
},
],
},
{
title: 'Github',
path: 'https://github.com/antvis/L7Draw',
},
// {
// title: '更新日志',
// path: 'https://github.com/antvis/L7Draw/tree/feat/refactor',
// },
],
// styles: ['https://cdn.bootcdn.net/ajax/libs/antd/4.20.2/antd.css'],
outputPath: 'docs-dist',
devServer: {
port: 8080,
},
copy: isProduction ? ['docs/CNAME'] : [],
devtool: isProduction ? false : 'eval',
// more config: https://d.umijs.org/config
});