forked from FriedRiceNoodles/banana-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dumirc.ts
150 lines (149 loc) · 3.56 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
import { defineConfig } from 'dumi';
export default defineConfig({
outputPath: 'docs-dist',
favicons: [
'/favicons/favicon.ico',
'/favicons/favicon-16x16.png',
'/favicons/favicon-32x32.png',
'/favicons/favicon-64x64.png',
],
logo: '/logos/nav-logo-375.png',
analytics: {
baidu: 'df33e0123cd576892df8bc4ac64788cf',
ga_v2: 'G-SC8THD4FR9',
},
sitemap: {
hostname: 'https://banana-ui.com',
},
themeConfig: {
name: 'Banana UI',
hideNameOnHeader: true,
footer: false,
hero: {
showCustomContent: true,
},
socialLinks: {
github: 'https://github.com/FriedRiceNoodles/banana-ui',
},
hideHomeNav: true,
nav: [
{
title: '指南',
link: '/guide/introduction',
},
{
title: '组件',
link: '/example/button',
},
],
sidebar: {
'/example': [
{
title: '通用',
children: [
{
link: '/example/button',
title: 'Button 按钮',
},
{
link: '/example/divider',
title: 'Divider 分割线',
},
{
link: 'example/dropdown',
title: 'Dropdown 下拉菜单',
},
{
link: '/example/menu',
title: 'Menu 菜单',
},
{
link: '/example/overlay',
title: 'Overlay 遮罩层',
},
{
link: '/example/popup',
title: 'Popup 弹层',
},
{
link: '/example/modal',
title: 'Modal 对话框',
},
],
},
{
title: '数据展示',
children: [
{
link: '/example/carousel',
title: 'Carousel 轮播图',
},
{
link: '/example/collapse',
title: 'Collapse 折叠面板',
},
{
link: '/example/countdown',
title: 'Countdown 倒计时',
},
{
link: '/example/marquee',
title: 'Marquee 跑马灯',
},
{
link: 'example/progress',
title: 'Progress 进度条',
},
],
},
{
title: '数据录入',
children: [
{
link: '/example/checkbox',
title: 'Checkbox 复选框',
},
{
link: '/example/input',
title: 'Input 输入框',
},
{
link: '/example/radio',
title: 'Radio 单选框',
},
{
link: '/example/rating',
title: 'Rating 评分',
},
{
link: '/example/select',
title: 'Select 选择器',
},
{
link: '/example/stepper',
title: 'Stepper 数量选择器',
},
{
link: '/example/textarea',
title: 'Textarea 文本输入框',
},
],
},
{
title: '操作反馈',
children: [
{
link: '/example/message',
title: 'Message 提示',
},
{
link: '/example/tooltip',
title: 'Tooltip 文字提示',
},
],
},
],
},
prefersColor: { default: 'light', switch: false },
},
});