Skip to content

Commit 31dac12

Browse files
committed
fix: rename root to nl
1 parent c6a4f0a commit 31dac12

File tree

1 file changed

+99
-60
lines changed

1 file changed

+99
-60
lines changed

docs/.vitepress/config.ts

Lines changed: 99 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ import { defineConfig } from 'vitepress';
44
// https://vitepress.dev/reference/default-theme-config
55
export default defineConfig({
66
title: 'Blokmap',
7-
base: "/docs",
7+
base: '/docs',
88

99
themeConfig: {
1010
socialLinks: [
1111
{
1212
icon: 'github',
13-
link: 'https://github.com/blokmap'
14-
}
13+
link: 'https://github.com/blokmap',
14+
},
1515
],
1616
},
1717

1818
locales: {
19-
root: {
19+
nl: {
2020
label: 'Nederlands',
2121
lang: 'nl',
2222
themeConfig: {
2323
nav: [
2424
{ text: 'Studenten', link: '/nl/user/students/' },
2525
{ text: 'Locaties', link: '/nl/user/locations/' },
2626
{ text: 'Instellingen', link: '/nl/user/institutions/' },
27-
{ text: 'Ontwikkelaars', link: '/nl/dev/' }
27+
{ text: 'Ontwikkelaars', link: '/nl/dev/' },
2828
],
2929

3030
sidebar: {
@@ -34,136 +34,175 @@ export default defineConfig({
3434
items: [
3535
{ text: 'Overzicht', link: '/nl/user/students/' },
3636
{ text: 'Inloggen', link: '/nl/user/students/' },
37-
{ text: 'Profiel beheren', link: '/nl/user/students/managing-profile' }
38-
]
37+
{
38+
text: 'Profiel beheren',
39+
link: '/nl/user/students/managing-profile',
40+
},
41+
],
3942
},
4043
{
4144
text: 'Locaties',
4245
items: [
43-
{ text: 'Locaties zoeken', link: '/nl/user/students/finding-locations' },
44-
]
46+
{
47+
text: 'Locaties zoeken',
48+
link: '/nl/user/students/finding-locations',
49+
},
50+
],
4551
},
4652
{
4753
text: 'Reserveren',
4854
items: [
49-
{ text: 'Reservaties maken', link: '/nl/user/students/making-reservations' },
50-
{ text: 'Reservaties beheren', link: '/nl/user/students/managing-reservations' },
51-
{ text: 'Reservaties bevestigen', link: '/nl/user/students/managing-reservations' }
52-
]
55+
{
56+
text: 'Reservaties maken',
57+
link: '/nl/user/students/making-reservations',
58+
},
59+
{
60+
text: 'Reservaties beheren',
61+
link: '/nl/user/students/managing-reservations',
62+
},
63+
{
64+
text: 'Reservaties bevestigen',
65+
link: '/nl/user/students/managing-reservations',
66+
},
67+
],
5368
},
5469
],
5570
'/nl/user/locations/': [
5671
{
5772
text: 'Aan de slag',
58-
items: [
59-
{ text: 'Overzicht', link: '/nl/user/locations/' }
60-
]
73+
items: [{ text: 'Overzicht', link: '/nl/user/locations/' }],
6174
},
6275
{
6376
text: 'Locatie instellen',
6477
items: [
65-
{ text: 'Locatie indienen', link: '/nl/user/locations/submitting-location' }
66-
]
78+
{
79+
text: 'Locatie indienen',
80+
link: '/nl/user/locations/submitting-location',
81+
},
82+
],
6783
},
6884
{
6985
text: 'Locatie beheren',
7086
items: [
71-
{ text: 'Gegevens bijwerken', link: '/nl/user/locations/managing-location' },
72-
{ text: 'Openingstijden', link: '/nl/user/locations/opening-times' }
73-
]
87+
{
88+
text: 'Gegevens bijwerken',
89+
link: '/nl/user/locations/managing-location',
90+
},
91+
{
92+
text: 'Openingstijden',
93+
link: '/nl/user/locations/opening-times',
94+
},
95+
],
7496
},
7597
{
7698
text: 'Reservaties',
7799
items: [
78-
{ text: 'Reservaties beheren', link: '/nl/user/locations/managing-reservations' }
79-
]
100+
{
101+
text: 'Reservaties beheren',
102+
link: '/nl/user/locations/managing-reservations',
103+
},
104+
],
80105
},
81106
{
82107
text: 'Toegang',
83108
items: [
84-
{ text: 'Toegangscontrole', link: '/nl/user/locations/access-control' }
85-
]
86-
}
109+
{
110+
text: 'Toegangscontrole',
111+
link: '/nl/user/locations/access-control',
112+
},
113+
],
114+
},
87115
],
88116
'/nl/user/institutions/': [
89117
{
90118
text: 'Aan de slag',
91119
items: [
92120
{ text: 'Overzicht', link: '/nl/user/institutions/' },
93-
{ text: 'Instellingstypes', link: '/nl/user/institutions/institution-types' }
94-
]
121+
{
122+
text: 'Instellingstypes',
123+
link: '/nl/user/institutions/institution-types',
124+
},
125+
],
95126
},
96127
{
97128
text: 'Locaties',
98129
items: [
99-
{ text: 'Locaties beheren', link: '/nl/user/institutions/managing-locations' },
100-
{ text: 'Openingstijden', link: '/nl/user/institutions/opening-times' }
101-
]
130+
{
131+
text: 'Locaties beheren',
132+
link: '/nl/user/institutions/managing-locations',
133+
},
134+
{
135+
text: 'Openingstijden',
136+
link: '/nl/user/institutions/opening-times',
137+
},
138+
],
102139
},
103140
{
104141
text: 'Reservaties',
105142
items: [
106-
{ text: 'Reservaties beheren', link: '/nl/user/institutions/managing-reservations' }
107-
]
143+
{
144+
text: 'Reservaties beheren',
145+
link: '/nl/user/institutions/managing-reservations',
146+
},
147+
],
108148
},
109149
{
110150
text: 'Toegang',
111151
items: [
112-
{ text: 'Toegangscontrole', link: '/nl/user/institutions/access-control' }
113-
]
152+
{
153+
text: 'Toegangscontrole',
154+
link: '/nl/user/institutions/access-control',
155+
},
156+
],
114157
},
115158
{
116159
text: 'Groepen',
117160
items: [
118-
{ text: 'Groepen beheren', link: '/nl/user/institutions/authorities' },
119-
{ text: 'Instellingstoegang', link: '/nl/user/institutions/institution-access' }
120-
]
121-
}
161+
{
162+
text: 'Groepen beheren',
163+
link: '/nl/user/institutions/authorities',
164+
},
165+
{
166+
text: 'Instellingstoegang',
167+
link: '/nl/user/institutions/institution-access',
168+
},
169+
],
170+
},
122171
],
123172
'/nl/dev/': [
124173
{
125174
text: 'Overzicht',
126-
items: [
127-
{ text: 'Welkom', link: '/nl/dev/' }
128-
]
175+
items: [{ text: 'Welkom', link: '/nl/dev/' }],
129176
},
130177
{
131178
text: 'Setup',
132-
items: [
133-
{ text: 'Aan de slag', link: '/nl/dev/getting-started' }
134-
]
179+
items: [{ text: 'Aan de slag', link: '/nl/dev/getting-started' }],
135180
},
136181
{
137182
text: 'Architectuur',
138-
items: [
139-
{ text: 'Systeem architectuur', link: '/nl/dev/architecture' }
140-
]
183+
items: [{ text: 'Systeem architectuur', link: '/nl/dev/architecture' }],
141184
},
142185
{
143186
text: 'API',
144-
items: [
145-
{ text: 'API Documentatie', link: '/nl/dev/api' }
146-
]
187+
items: [{ text: 'API Documentatie', link: '/nl/dev/api' }],
147188
},
148189
{
149190
text: 'Ontwikkeling',
150191
items: [
151192
{ text: 'Development Guide', link: '/nl/dev/development' },
152-
{ text: 'Bijdragen', link: '/nl/dev/contributing' }
153-
]
154-
}
155-
]
193+
{ text: 'Bijdragen', link: '/nl/dev/contributing' },
194+
],
195+
},
196+
],
156197
},
157-
}
198+
},
158199
},
159200
en: {
160201
label: 'English',
161202
lang: 'en',
162203
themeConfig: {
163-
nav: [
164-
{ text: 'Documentation', link: '/en/' }
165-
],
166-
}
204+
nav: [{ text: 'Documentation', link: '/en/' }],
205+
},
167206
},
168207
},
169208
});

0 commit comments

Comments
 (0)