@@ -36,8 +36,8 @@ export default defineConfig({
36
36
titleTemplate : rekaShortName ,
37
37
head : [
38
38
[ 'meta' , { name : 'theme-color' , content : '#00C38A' } ] ,
39
- [ 'link' , { rel : 'icon' , href : '/logo.png' } ] ,
40
- [ 'link' , { rel : 'icon' , href : '/logo.svg' , type : 'image/svg+xml' } ] ,
39
+ [ 'link' , { rel : 'icon' , href : '/reka-ui/ logo.png' } ] ,
40
+ [ 'link' , { rel : 'icon' , href : '/reka-ui/ logo.svg' , type : 'image/svg+xml' } ] ,
41
41
[ 'meta' , { name : 'author' , content : `${ teamMembers . map ( c => c . name ) . join ( ', ' ) } and ${ rekaName } contributors` } ] ,
42
42
[ 'meta' , { name : 'keywords' , content : 'vue, nuxt, component-library, radix, radix-vue, reka-ui, typescript' } ] ,
43
43
[ 'meta' , { property : 'og:title' , content : rekaName } ] ,
@@ -77,7 +77,7 @@ export default defineConfig({
77
77
themeConfig : {
78
78
// https://vitepress.dev/reference/default-theme-config
79
79
nav : [
80
- { text : 'Docs' , link : '/docs/overview/getting-started' } ,
80
+ { text : 'Docs' , link : '/reka-ui/ docs/overview/getting-started' } ,
81
81
{ text : 'Examples' , link : '/examples/checkbox-group' } ,
82
82
{ text : 'Showcase' , link : '/showcase' } ,
83
83
{
@@ -98,39 +98,39 @@ export default defineConfig({
98
98
text : 'Overview' ,
99
99
icon : 'lucide:rocket' ,
100
100
items : [
101
- { text : 'Introduction' , link : '/docs/overview/introduction' } ,
102
- { text : 'Getting Started' , link : '/docs/overview/getting-started' } ,
103
- { text : 'Installation' , link : '/docs/overview/installation' } ,
104
- { text : 'Accessibility' , link : '/docs/overview/accessibility' } ,
105
- { text : 'Releases' , link : '/docs/overview/releases' } ,
101
+ { text : 'Introduction' , link : '/reka-ui/ docs/overview/introduction' } ,
102
+ { text : 'Getting Started' , link : '/reka-ui/ docs/overview/getting-started' } ,
103
+ { text : 'Installation' , link : '/reka-ui/ docs/overview/installation' } ,
104
+ { text : 'Accessibility' , link : '/reka-ui/ docs/overview/accessibility' } ,
105
+ { text : 'Releases' , link : '/reka-ui/ docs/overview/releases' } ,
106
106
] ,
107
107
} ,
108
108
{
109
109
text : 'Guides' ,
110
110
icon : 'lucide:book-open' ,
111
111
items : [
112
- { text : 'Styling' , link : '/docs/guides/styling' } ,
113
- { text : 'Animation/Transition' , link : '/docs/guides/animation' } ,
114
- { text : 'Composition' , link : '/docs/guides/composition' } ,
115
- { text : `Controlled State ${ BadgeHTML ( 'New' ) } ` , link : '/docs/guides/controlled-state' } ,
112
+ { text : 'Styling' , link : '/reka-ui/ docs/guides/styling' } ,
113
+ { text : 'Animation/Transition' , link : '/reka-ui/ docs/guides/animation' } ,
114
+ { text : 'Composition' , link : '/reka-ui/ docs/guides/composition' } ,
115
+ { text : `Controlled State ${ BadgeHTML ( 'New' ) } ` , link : '/reka-ui/ docs/guides/controlled-state' } ,
116
116
{
117
117
text : 'Server side rendering' ,
118
- link : '/docs/guides/server-side-rendering' ,
118
+ link : '/reka-ui/ docs/guides/server-side-rendering' ,
119
119
} ,
120
- { text : 'Namespaced' , link : '/docs/guides/namespaced-components' } ,
121
- { text : 'Dates' , link : '/docs/guides/dates' } ,
122
- { text : 'Internationalization (RTL)' , link : '/docs/guides/i18n' } ,
120
+ { text : 'Namespaced' , link : '/reka-ui/ docs/guides/namespaced-components' } ,
121
+ { text : 'Dates' , link : '/reka-ui/ docs/guides/dates' } ,
122
+ { text : 'Internationalization (RTL)' , link : '/reka-ui/ docs/guides/i18n' } ,
123
123
{
124
124
text : `Inject Context ${ BadgeHTML ( 'New' ) } ` ,
125
- link : '/docs/guides/inject-context' ,
125
+ link : '/reka-ui/ docs/guides/inject-context' ,
126
126
} ,
127
127
{
128
128
text : `Virtualization ${ BadgeHTML ( 'New' ) } ` ,
129
- link : '/docs/guides/virtualization' ,
129
+ link : '/reka-ui/ docs/guides/virtualization' ,
130
130
} ,
131
131
{
132
132
text : `Migration ${ BadgeHTML ( 'New' ) } ` ,
133
- link : '/docs/guides/migration' ,
133
+ link : '/reka-ui/ docs/guides/migration' ,
134
134
} ,
135
135
] ,
136
136
} ,
@@ -141,89 +141,89 @@ export default defineConfig({
141
141
{
142
142
text : 'Form' ,
143
143
items : [
144
- { text : 'Checkbox' , link : '/docs/components/checkbox' } ,
145
- { text : 'Combobox' , link : '/docs/components/combobox' } ,
146
- { text : `Editable` , link : '/docs/components/editable' } ,
147
- { text : `Listbox` , link : '/docs/components/listbox' } ,
148
- { text : `Number Field` , link : '/docs/components/number-field' } ,
149
- { text : 'Label' , link : '/docs/components/label' } ,
150
- { text : 'Pin Input' , link : '/docs/components/pin-input' } ,
151
- { text : 'Radio Group' , link : '/docs/components/radio-group' } ,
152
- { text : 'Select' , link : '/docs/components/select' } ,
153
- { text : 'Slider' , link : '/docs/components/slider' } ,
154
- { text : 'Switch' , link : '/docs/components/switch' } ,
155
- { text : 'Tags Input' , link : '/docs/components/tags-input' } ,
156
- { text : 'Toggle' , link : '/docs/components/toggle' } ,
157
- { text : 'Toggle Group' , link : '/docs/components/toggle-group' } ,
144
+ { text : 'Checkbox' , link : '/reka-ui/ docs/components/checkbox' } ,
145
+ { text : 'Combobox' , link : '/reka-ui/ docs/components/combobox' } ,
146
+ { text : `Editable` , link : '/reka-ui/ docs/components/editable' } ,
147
+ { text : `Listbox` , link : '/reka-ui/ docs/components/listbox' } ,
148
+ { text : `Number Field` , link : '/reka-ui/ docs/components/number-field' } ,
149
+ { text : 'Label' , link : '/reka-ui/ docs/components/label' } ,
150
+ { text : 'Pin Input' , link : '/reka-ui/ docs/components/pin-input' } ,
151
+ { text : 'Radio Group' , link : '/reka-ui/ docs/components/radio-group' } ,
152
+ { text : 'Select' , link : '/reka-ui/ docs/components/select' } ,
153
+ { text : 'Slider' , link : '/reka-ui/ docs/components/slider' } ,
154
+ { text : 'Switch' , link : '/reka-ui/ docs/components/switch' } ,
155
+ { text : 'Tags Input' , link : '/reka-ui/ docs/components/tags-input' } ,
156
+ { text : 'Toggle' , link : '/reka-ui/ docs/components/toggle' } ,
157
+ { text : 'Toggle Group' , link : '/reka-ui/ docs/components/toggle-group' } ,
158
158
] ,
159
159
} ,
160
160
{
161
161
text : 'Dates' ,
162
162
items : [
163
163
{
164
164
text : `Calendar ${ BadgeHTML ( 'Alpha' , true ) } ` ,
165
- link : '/docs/components/calendar' ,
165
+ link : '/reka-ui/ docs/components/calendar' ,
166
166
} ,
167
167
{
168
168
text : `Date Field ${ BadgeHTML ( 'Alpha' , true ) } ` ,
169
- link : '/docs/components/date-field' ,
169
+ link : '/reka-ui/ docs/components/date-field' ,
170
170
} ,
171
171
{
172
172
text : `Date Picker ${ BadgeHTML ( 'Alpha' , true ) } ` ,
173
- link : '/docs/components/date-picker' ,
173
+ link : '/reka-ui/ docs/components/date-picker' ,
174
174
} ,
175
175
{
176
176
text : `Date Range Field ${ BadgeHTML ( 'Alpha' , true ) } ` ,
177
- link : '/docs/components/date-range-field' ,
177
+ link : '/reka-ui/ docs/components/date-range-field' ,
178
178
} ,
179
179
{
180
180
text : `Date Range Picker ${ BadgeHTML ( 'Alpha' , true ) } ` ,
181
- link : '/docs/components/date-range-picker' ,
181
+ link : '/reka-ui/ docs/components/date-range-picker' ,
182
182
} ,
183
183
{
184
184
text : `Range Calendar ${ BadgeHTML ( 'Alpha' , true ) } ` ,
185
- link : '/docs/components/range-calendar' ,
185
+ link : '/reka-ui/ docs/components/range-calendar' ,
186
186
} ,
187
187
{
188
188
text : `Time Field ${ BadgeHTML ( 'Alpha' , true ) } ` ,
189
- link : '/docs/components/time-field' ,
189
+ link : '/reka-ui/ docs/components/time-field' ,
190
190
} ,
191
191
] ,
192
192
} ,
193
193
{
194
194
text : 'General' ,
195
195
items : [
196
- { text : 'Accordion' , link : '/docs/components/accordion' } ,
197
- { text : 'Alert Dialog' , link : '/docs/components/alert-dialog' } ,
198
- { text : 'Aspect Ratio' , link : '/docs/components/aspect-ratio' } ,
199
- { text : 'Avatar' , link : '/docs/components/avatar' } ,
200
- { text : 'Collapsible' , link : '/docs/components/collapsible' } ,
201
- { text : 'Context Menu' , link : '/docs/components/context-menu' } ,
202
- { text : 'Dialog' , link : '/docs/components/dialog' } ,
203
- { text : 'Dropdown Menu' , link : '/docs/components/dropdown-menu' } ,
204
- { text : 'Hover Card' , link : '/docs/components/hover-card' } ,
205
- { text : 'Menubar' , link : '/docs/components/menubar' } ,
196
+ { text : 'Accordion' , link : '/reka-ui/ docs/components/accordion' } ,
197
+ { text : 'Alert Dialog' , link : '/reka-ui/ docs/components/alert-dialog' } ,
198
+ { text : 'Aspect Ratio' , link : '/reka-ui/ docs/components/aspect-ratio' } ,
199
+ { text : 'Avatar' , link : '/reka-ui/ docs/components/avatar' } ,
200
+ { text : 'Collapsible' , link : '/reka-ui/ docs/components/collapsible' } ,
201
+ { text : 'Context Menu' , link : '/reka-ui/ docs/components/context-menu' } ,
202
+ { text : 'Dialog' , link : '/reka-ui/ docs/components/dialog' } ,
203
+ { text : 'Dropdown Menu' , link : '/reka-ui/ docs/components/dropdown-menu' } ,
204
+ { text : 'Hover Card' , link : '/reka-ui/ docs/components/hover-card' } ,
205
+ { text : 'Menubar' , link : '/reka-ui/ docs/components/menubar' } ,
206
206
{
207
207
text : 'Navigation Menu' ,
208
- link : '/docs/components/navigation-menu' ,
208
+ link : '/reka-ui/ docs/components/navigation-menu' ,
209
209
} ,
210
- { text : 'Pagination' , link : '/docs/components/pagination' } ,
211
- { text : 'Popover' , link : '/docs/components/popover' } ,
212
- { text : 'Progress' , link : '/docs/components/progress' } ,
213
- { text : 'Scroll Area' , link : '/docs/components/scroll-area' } ,
214
- { text : 'Separator' , link : '/docs/components/separator' } ,
215
- { text : 'Splitter' , link : '/docs/components/splitter' } ,
210
+ { text : 'Pagination' , link : '/reka-ui/ docs/components/pagination' } ,
211
+ { text : 'Popover' , link : '/reka-ui/ docs/components/popover' } ,
212
+ { text : 'Progress' , link : '/reka-ui/ docs/components/progress' } ,
213
+ { text : 'Scroll Area' , link : '/reka-ui/ docs/components/scroll-area' } ,
214
+ { text : 'Separator' , link : '/reka-ui/ docs/components/separator' } ,
215
+ { text : 'Splitter' , link : '/reka-ui/ docs/components/splitter' } ,
216
216
{
217
217
text : `Stepper ${ BadgeHTML ( 'Alpha' , true ) } ` ,
218
- link : '/docs/components/stepper' ,
218
+ link : '/reka-ui/ docs/components/stepper' ,
219
219
} ,
220
- { text : 'Tabs' , link : '/docs/components/tabs' } ,
221
- { text : 'Toast' , link : '/docs/components/toast' } ,
222
- { text : 'Toolbar' , link : '/docs/components/toolbar' } ,
223
- { text : 'Tooltip' , link : '/docs/components/tooltip' } ,
220
+ { text : 'Tabs' , link : '/reka-ui/ docs/components/tabs' } ,
221
+ { text : 'Toast' , link : '/reka-ui/ docs/components/toast' } ,
222
+ { text : 'Toolbar' , link : '/reka-ui/ docs/components/toolbar' } ,
223
+ { text : 'Tooltip' , link : '/reka-ui/ docs/components/tooltip' } ,
224
224
{
225
225
text : `Tree ${ BadgeHTML ( 'Alpha' , true ) } ` ,
226
- link : '/docs/components/tree' ,
226
+ link : '/reka-ui/ docs/components/tree' ,
227
227
} ,
228
228
] ,
229
229
} ,
@@ -236,38 +236,38 @@ export default defineConfig({
236
236
{
237
237
text : 'Component' ,
238
238
items : [
239
- { text : 'Config Provider' , link : '/docs/utilities/config-provider' } ,
240
- { text : 'Focus Scope' , link : '/docs/utilities/focus-scope' } ,
241
- { text : 'Presence' , link : '/docs/utilities/presence' } ,
242
- { text : 'Primitive' , link : '/docs/utilities/primitive' } ,
243
- { text : 'Slot' , link : '/docs/utilities/slot' } ,
244
- { text : 'Visually Hidden' , link : '/docs/utilities/visually-hidden' } ,
239
+ { text : 'Config Provider' , link : '/reka-ui/ docs/utilities/config-provider' } ,
240
+ { text : 'Focus Scope' , link : '/reka-ui/ docs/utilities/focus-scope' } ,
241
+ { text : 'Presence' , link : '/reka-ui/ docs/utilities/presence' } ,
242
+ { text : 'Primitive' , link : '/reka-ui/ docs/utilities/primitive' } ,
243
+ { text : 'Slot' , link : '/reka-ui/ docs/utilities/slot' } ,
244
+ { text : 'Visually Hidden' , link : '/reka-ui/ docs/utilities/visually-hidden' } ,
245
245
] ,
246
246
} ,
247
247
{
248
248
text : 'Composable' ,
249
249
items : [
250
- { text : 'useId' , link : '/docs/utilities/use-id' } ,
250
+ { text : 'useId' , link : '/reka-ui/ docs/utilities/use-id' } ,
251
251
{
252
252
text : 'useDateFormatter' ,
253
- link : '/docs/utilities/use-date-formatter' ,
253
+ link : '/reka-ui/ docs/utilities/use-date-formatter' ,
254
254
} ,
255
255
{
256
256
text : 'useEmitAsProps' ,
257
- link : '/docs/utilities/use-emit-as-props' ,
257
+ link : '/reka-ui/ docs/utilities/use-emit-as-props' ,
258
258
} ,
259
- { text : 'useFilter' , link : '/docs/utilities/use-filter' } ,
259
+ { text : 'useFilter' , link : '/reka-ui/ docs/utilities/use-filter' } ,
260
260
{
261
261
text : 'useForwardExpose' ,
262
- link : '/docs/utilities/use-forward-expose' ,
262
+ link : '/reka-ui/ docs/utilities/use-forward-expose' ,
263
263
} ,
264
264
{
265
265
text : 'useForwardProps' ,
266
- link : '/docs/utilities/use-forward-props' ,
266
+ link : '/reka-ui/ docs/utilities/use-forward-props' ,
267
267
} ,
268
268
{
269
269
text : 'useForwardPropsEmits' ,
270
- link : '/docs/utilities/use-forward-props-emits' ,
270
+ link : '/reka-ui/ docs/utilities/use-forward-props-emits' ,
271
271
} ,
272
272
] ,
273
273
} ,
@@ -360,6 +360,7 @@ export default defineConfig({
360
360
} ,
361
361
editLink : {
362
362
pattern : 'https://github.com/unovue/reka-ui/edit/main/docs/content/:path' ,
363
+ pattern : 'https://github.com/unovue/reka-ui/edit//mainreka-ui/docs/content/:path' ,
363
364
} ,
364
365
carbonAds : {
365
366
code : 'CW7DP2JW' ,
0 commit comments