Skip to content

Commit 746f4b0

Browse files
committed
docs: 📝 added config docs and improve application builder examples
1 parent 531a762 commit 746f4b0

File tree

18 files changed

+1233
-23
lines changed

18 files changed

+1233
-23
lines changed

docs/.vitepress/config.mts

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,21 @@ export default defineConfig({
3737
link: "/en/key-concepts/application-structure",
3838
},
3939
{
40-
text: "Application configuration",
41-
link: "/en/key-concepts/application-configuration",
40+
text: "The `main` function and macro",
41+
link: "/en/key-concepts/the-main-function",
4242
},
4343
{
44-
text: "Custom configuration",
45-
link: "/en/key-concepts/custom-configuration",
44+
text: "Configuring the application",
45+
items: [
46+
{
47+
text: "Application Configuration",
48+
link: "/en/key-concepts/configuration/application",
49+
},
50+
{
51+
text: "Custom Configuration",
52+
link: "/en/key-concepts/configuration/custom",
53+
},
54+
],
4655
},
4756
{
4857
text: "Controllers and Routes",
@@ -58,9 +67,10 @@ export default defineConfig({
5867
},
5968
{
6069
text: "Middlewares",
70+
link: "/en/key-concepts/middlewares/mod.md",
6171
items: [
6272
{
63-
text: "Common Middlewares",
73+
text: "Simple Middlewares",
6474
link: "/en/key-concepts/middlewares/common",
6575
},
6676
{
@@ -141,12 +151,21 @@ export default defineConfig({
141151
link: "/es/key-concepts/application-structure",
142152
},
143153
{
144-
text: "Configuración de la aplicación",
145-
link: "/es/key-concepts/application-configuration",
154+
text: "La función y macro `main`",
155+
link: "/es/key-concepts/the-main-function",
146156
},
147157
{
148-
text: "Configuración personalizada",
149-
link: "/es/key-concepts/custom-configuration",
158+
text: "Configurando la aplicación",
159+
items: [
160+
{
161+
text: "Configuración de la Aplicación",
162+
link: "/es/key-concepts/configuration/application",
163+
},
164+
{
165+
text: "Configuración Personalizada",
166+
link: "/es/key-concepts/configuration/custom",
167+
},
168+
],
150169
},
151170
{
152171
text: "Controladores y Rutas",
@@ -162,9 +181,10 @@ export default defineConfig({
162181
},
163182
{
164183
text: "Middlewares",
184+
link: "/es/key-concepts/middlewares/mod.md",
165185
items: [
166186
{
167-
text: "Middlewares Comunes",
187+
text: "Middlewares simples",
168188
link: "/es/key-concepts/middlewares/common",
169189
},
170190
{

0 commit comments

Comments
 (0)