@@ -7,6 +7,7 @@ import pkg from '../../package.json'
7
7
const path = require ( 'path' )
8
8
9
9
export default defineUserConfig < DefaultThemeOptions > ( {
10
+ base : `/vue/docs/${ pkg . config . version_short } /` ,
10
11
lang : 'en-US' ,
11
12
title : 'CoreUI for Vue.js' ,
12
13
description : 'UI Components Library for Vue.js (Vue 3)' ,
@@ -71,180 +72,180 @@ export default defineUserConfig<DefaultThemeOptions>({
71
72
{
72
73
text : 'Getting started' ,
73
74
icon : '<rect width="32" height="32" x="144" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="336" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M312,76.82v34.265a142.419,142.419,0,0,1,86.207,130.708C398.207,320.206,334.413,384,256,384S113.793,320.206,113.793,241.793A142.419,142.419,0,0,1,200,111.085V76.82c-68.671,23.373-118.207,88.5-118.207,164.973C81.793,337.851,159.942,416,256,416s174.207-78.149,174.207-174.207C430.207,165.316,380.671,100.193,312,76.82Z" class="ci-primary"></path><rect width="32" height="229.793" x="240" y="16" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect>' ,
74
- link : `/${ pkg . config . version_short } / getting-started/` ,
75
+ link : `/getting-started/` ,
75
76
children : [
76
77
{
77
78
text : 'Introduction' ,
78
- link : `/${ pkg . config . version_short } / getting-started/introduction.html` ,
79
+ link : `/getting-started/introduction.html` ,
79
80
} ,
80
81
] ,
81
82
} ,
82
83
{
83
84
text : 'Layout' ,
84
85
icon : `<path fill="var(--ci-primary-color, currentColor)" d="M16,64V448H496V64ZM464,240H192V96H464ZM192,272H312V416H192ZM48,96H160V416H48ZM344,416V272H464V416Z"></path>` ,
85
- link : `/${ pkg . config . version_short } / layout/` ,
86
+ link : `/layout/` ,
86
87
children : [
87
88
{
88
89
text : 'Breakpoints' ,
89
- link : `/${ pkg . config . version_short } / layout/breakpoints.html` ,
90
+ link : `/layout/breakpoints.html` ,
90
91
} ,
91
92
{
92
93
text : 'Columns' ,
93
- link : `/${ pkg . config . version_short } / layout/columns.html` ,
94
+ link : `/layout/columns.html` ,
94
95
} ,
95
96
{
96
97
text : 'Containers' ,
97
- link : `/${ pkg . config . version_short } / layout/containers.html` ,
98
+ link : `/layout/containers.html` ,
98
99
} ,
99
100
{
100
101
text : 'Grid' ,
101
- link : `/${ pkg . config . version_short } / layout/grid.html` ,
102
+ link : `/layout/grid.html` ,
102
103
} ,
103
104
{
104
105
text : 'Gutters' ,
105
- link : `/${ pkg . config . version_short } / layout/gutters.html` ,
106
+ link : `/layout/gutters.html` ,
106
107
} ,
107
108
] ,
108
109
} ,
109
110
{
110
111
text : 'Forms' ,
111
112
icon : `<rect width="288" height="32" x="112" y="152" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="288" height="32" x="112" y="240" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="152" height="32" x="112" y="328" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M480,48H32V464H480ZM448,432H64V80H448Z" class="ci-primary"></path>` ,
112
- link : `/${ pkg . config . version_short } / forms/` ,
113
+ link : `/forms/` ,
113
114
children : [
114
115
{
115
116
text : 'Overview' ,
116
- link : `/${ pkg . config . version_short } / forms/overview.html` ,
117
+ link : `/forms/overview.html` ,
117
118
} ,
118
119
{
119
120
text : 'Form control' ,
120
- link : `/${ pkg . config . version_short } / forms/form-control.html` ,
121
+ link : `/forms/form-control.html` ,
121
122
} ,
122
123
{
123
124
text : 'Select' ,
124
- link : `/${ pkg . config . version_short } / forms/select.html` ,
125
+ link : `/forms/select.html` ,
125
126
} ,
126
127
{
127
128
text : 'Checks & radios' ,
128
- link : `/${ pkg . config . version_short } / forms/checks-radios.html` ,
129
+ link : `/forms/checks-radios.html` ,
129
130
} ,
130
131
{
131
132
text : 'Range' ,
132
- link : `/${ pkg . config . version_short } / forms/range.html` ,
133
+ link : `/forms/range.html` ,
133
134
} ,
134
135
{
135
136
text : 'Floating labels' ,
136
- link : `/${ pkg . config . version_short } / forms/floating-labels.html` ,
137
+ link : `/forms/floating-labels.html` ,
137
138
} ,
138
139
{
139
140
text : 'Input group' ,
140
- link : `/${ pkg . config . version_short } / forms/input-group.html` ,
141
+ link : `/forms/input-group.html` ,
141
142
} ,
142
143
{
143
144
text : 'Layout' ,
144
- link : `/${ pkg . config . version_short } / forms/layout.html` ,
145
+ link : `/forms/layout.html` ,
145
146
} ,
146
147
{
147
148
text : 'Validation' ,
148
- link : `/${ pkg . config . version_short } / forms/validation.html` ,
149
+ link : `/forms/validation.html` ,
149
150
} ,
150
151
] ,
151
152
} ,
152
153
{
153
154
text : 'Components' ,
154
155
icon : '<path fill="var(--ci-primary-color, currentColor)" d="M410.989,16H101.011L16,237.029V496H496V237.029Zm-288,32H240V240H49.143ZM184,272H328v40H184ZM464,464H48V272H152v72H360V272H464ZM272,240V48H389.012l73.845,192Z" class="ci-primary"></path>' ,
155
- link : `/${ pkg . config . version_short } / components/` ,
156
+ link : `/components/` ,
156
157
children : [
157
158
{
158
159
text : 'Accordion' ,
159
- link : `/${ pkg . config . version_short } / components/accordion.html` ,
160
+ link : `/components/accordion.html` ,
160
161
} ,
161
162
{
162
163
text : 'Alert' ,
163
- link : `/${ pkg . config . version_short } / components/alert.html` ,
164
+ link : `/components/alert.html` ,
164
165
} ,
165
166
{
166
167
text : 'Avatar' ,
167
- link : `/${ pkg . config . version_short } / components/avatar.html` ,
168
+ link : `/components/avatar.html` ,
168
169
} ,
169
170
{
170
171
text : 'Badge' ,
171
- link : `/${ pkg . config . version_short } / components/badge.html` ,
172
+ link : `/components/badge.html` ,
172
173
} ,
173
174
{
174
175
text : 'Breadcrumb' ,
175
- link : `/${ pkg . config . version_short } / components/breadcrumb.html` ,
176
+ link : `/components/breadcrumb.html` ,
176
177
} ,
177
178
{
178
179
text : 'Buttons' ,
179
- link : `/${ pkg . config . version_short } / components/button.html` ,
180
+ link : `/components/button.html` ,
180
181
} ,
181
182
{
182
183
text : 'Button Group' ,
183
- link : `/${ pkg . config . version_short } / components/button-group.html` ,
184
+ link : `/components/button-group.html` ,
184
185
} ,
185
186
{
186
187
text : 'Callout' ,
187
- link : `/${ pkg . config . version_short } / components/callout.html` ,
188
+ link : `/components/callout.html` ,
188
189
} ,
189
190
{
190
191
text : 'Card' ,
191
- link : `/${ pkg . config . version_short } / components/card.html` ,
192
+ link : `/components/card.html` ,
192
193
} ,
193
194
{
194
195
text : 'Carousel' ,
195
- link : `/${ pkg . config . version_short } / components/carousel.html` ,
196
+ link : `/components/carousel.html` ,
196
197
} ,
197
198
{
198
199
text : 'Close Button' ,
199
- link : `/${ pkg . config . version_short } / components/close-button.html` ,
200
+ link : `/components/close-button.html` ,
200
201
} ,
201
202
{
202
203
text : 'Collapse' ,
203
- link : `/${ pkg . config . version_short } / components/collapse.html` ,
204
+ link : `/components/collapse.html` ,
204
205
} ,
205
206
{
206
207
text : 'Dropdown' ,
207
- link : `/${ pkg . config . version_short } / components/dropdown.html` ,
208
+ link : `/components/dropdown.html` ,
208
209
} ,
209
210
{
210
211
text : 'Footer' ,
211
- link : `/${ pkg . config . version_short } / components/footer.html` ,
212
+ link : `/components/footer.html` ,
212
213
} ,
213
214
{
214
215
text : 'Header' ,
215
- link : `/${ pkg . config . version_short } / components/header.html` ,
216
+ link : `/components/header.html` ,
216
217
} ,
217
218
{
218
219
text : 'Image' ,
219
- link : `/${ pkg . config . version_short } / components/image.html` ,
220
+ link : `/components/image.html` ,
220
221
} ,
221
222
{
222
223
text : 'List Group' ,
223
- link : `/${ pkg . config . version_short } / components/list-group.html` ,
224
+ link : `/components/list-group.html` ,
224
225
} ,
225
226
{
226
227
text : 'Modal' ,
227
- link : `/${ pkg . config . version_short } / components/modal.html` ,
228
+ link : `/components/modal.html` ,
228
229
} ,
229
230
{
230
231
text : 'Nav' ,
231
- link : `/${ pkg . config . version_short } / components/nav.html` ,
232
+ link : `/components/nav.html` ,
232
233
} ,
233
234
{
234
235
text : 'Navbar' ,
235
- link : `/${ pkg . config . version_short } / components/navbar.html` ,
236
+ link : `/components/navbar.html` ,
236
237
} ,
237
238
{
238
239
text : 'Offcanvas' ,
239
- link : `/${ pkg . config . version_short } / components/offcanvas.html` ,
240
+ link : `/components/offcanvas.html` ,
240
241
} ,
241
242
{
242
243
text : 'Pagination' ,
243
- link : `/${ pkg . config . version_short } / components/pagination.html` ,
244
+ link : `/components/pagination.html` ,
244
245
} ,
245
246
{
246
247
text : 'Placeholders' ,
247
- link : `/${ pkg . config . version_short } / components/placeholders.html` ,
248
+ link : `/components/placeholders.html` ,
248
249
disabled : true ,
249
250
badge : {
250
251
color : 'warning' ,
@@ -253,35 +254,35 @@ export default defineUserConfig<DefaultThemeOptions>({
253
254
} ,
254
255
{
255
256
text : 'Popover' ,
256
- link : `/${ pkg . config . version_short } / components/popover.html` ,
257
+ link : `/components/popover.html` ,
257
258
} ,
258
259
{
259
260
text : 'Progress' ,
260
- link : `/${ pkg . config . version_short } / components/progress.html` ,
261
+ link : `/components/progress.html` ,
261
262
} ,
262
263
{
263
264
text : 'Sidebar' ,
264
- link : `/${ pkg . config . version_short } / components/sidebar.html` ,
265
+ link : `/components/sidebar.html` ,
265
266
} ,
266
267
{
267
268
text : 'Spinner' ,
268
- link : `/${ pkg . config . version_short } / components/spinner.html` ,
269
+ link : `/components/spinner.html` ,
269
270
} ,
270
271
{
271
272
text : 'Table' ,
272
- link : `/${ pkg . config . version_short } / components/table.html` ,
273
+ link : `/components/table.html` ,
273
274
} ,
274
275
{
275
276
text : 'Toast' ,
276
- link : `/${ pkg . config . version_short } / components/toast.html` ,
277
+ link : `/components/toast.html` ,
277
278
} ,
278
279
{
279
280
text : 'Tooltip' ,
280
- link : `/${ pkg . config . version_short } / components/tooltip.html` ,
281
+ link : `/components/tooltip.html` ,
281
282
} ,
282
283
{
283
284
text : 'Widgets' ,
284
- link : `/${ pkg . config . version_short } / components/widgets.html` ,
285
+ link : `/components/widgets.html` ,
285
286
} ,
286
287
] ,
287
288
} ,
0 commit comments