Skip to content

Commit b672b94

Browse files
committed
docs(nav): move worker pool to recipes and rework response nav
- Add download and empty entries to the response section - Move worker pool from core concepts to recipes - Remove file, data, and stream response entries - Shorten response labels and reorder custom before redirects
1 parent 4d388c3 commit b672b94

1 file changed

Lines changed: 20 additions & 22 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ export default withMermaid(
133133
{ text: 'Context Object', link: '/core-concepts/context-object' },
134134
{ text: 'Request Handling', link: '/core-concepts/request-handling' },
135135
{ text: 'Hot Reload', link: '/core-concepts/hot-reload' },
136-
{ text: 'Multi-Service', link: '/core-concepts/multi-service' },
137-
{ text: 'Worker Pool', link: '/core-concepts/worker-pool' }
136+
{ text: 'Multi-Service', link: '/core-concepts/multi-service' }
138137
]
139138
},
140139
{
@@ -222,14 +221,13 @@ export default withMermaid(
222221
text: 'Response',
223222
collapsed: true,
224223
items: [
225-
{ text: 'JSON Format', link: '/response/json' },
226-
{ text: 'Text Format', link: '/response/text' },
227-
{ text: 'HTML Format', link: '/response/html' },
228-
{ text: 'File Downloads', link: '/response/file' },
229-
{ text: 'Data Downloads', link: '/response/data' },
230-
{ text: 'Stream', link: '/response/stream' },
231-
{ text: 'Redirects', link: '/response/redirect' },
232-
{ text: 'Custom Responses', link: '/response/custom' }
224+
{ text: 'JSON', link: '/response/json' },
225+
{ text: 'Text', link: '/response/text' },
226+
{ text: 'HTML', link: '/response/html' },
227+
{ text: 'Downloads', link: '/response/download' },
228+
{ text: 'Empty', link: '/response/empty' },
229+
{ text: 'Custom', link: '/response/custom' },
230+
{ text: 'Redirects', link: '/response/redirect' }
233231
]
234232
},
235233
{
@@ -269,7 +267,8 @@ export default withMermaid(
269267
{ text: 'Object Storage', link: '/recipes/object-storage' },
270268
{ text: 'Graceful Shutdown', link: '/recipes/graceful-shutdown' },
271269
{ text: 'Production Deploy', link: '/recipes/production-deploy' },
272-
{ text: 'Audit Compliance', link: '/recipes/audit-compliance' }
270+
{ text: 'Audit Compliance', link: '/recipes/audit-compliance' },
271+
{ text: 'Worker Pool', link: '/recipes/worker-pool' }
273272
]
274273
}
275274
]
@@ -344,8 +343,7 @@ export default withMermaid(
344343
{ text: 'Objek Konteks', link: '/id/core-concepts/context-object' },
345344
{ text: 'Penanganan Request', link: '/id/core-concepts/request-handling' },
346345
{ text: 'Hot Reload', link: '/id/core-concepts/hot-reload' },
347-
{ text: 'Multi-Service', link: '/id/core-concepts/multi-service' },
348-
{ text: 'Worker Pool', link: '/id/core-concepts/worker-pool' }
346+
{ text: 'Multi-Service', link: '/id/core-concepts/multi-service' }
349347
]
350348
},
351349
{
@@ -433,14 +431,13 @@ export default withMermaid(
433431
text: 'Response',
434432
collapsed: true,
435433
items: [
436-
{ text: 'Format JSON', link: '/id/response/json' },
437-
{ text: 'Format Teks', link: '/id/response/text' },
438-
{ text: 'Format HTML', link: '/id/response/html' },
439-
{ text: 'Unduhan File', link: '/id/response/file' },
440-
{ text: 'Unduhan Data', link: '/id/response/data' },
441-
{ text: 'Stream', link: '/id/response/stream' },
442-
{ text: 'Pengalihan', link: '/id/response/redirect' },
443-
{ text: 'Respon Khusus', link: '/id/response/custom' }
434+
{ text: 'JSON', link: '/id/response/json' },
435+
{ text: 'Teks', link: '/id/response/text' },
436+
{ text: 'HTML', link: '/id/response/html' },
437+
{ text: 'Unduhan', link: '/id/response/download' },
438+
{ text: 'Kosong', link: '/id/response/empty' },
439+
{ text: 'Kustom', link: '/id/response/custom' },
440+
{ text: 'Pengalihan', link: '/id/response/redirect' }
444441
]
445442
},
446443
{
@@ -480,7 +477,8 @@ export default withMermaid(
480477
{ text: 'Object Storage', link: '/id/recipes/object-storage' },
481478
{ text: 'Graceful Shutdown', link: '/id/recipes/graceful-shutdown' },
482479
{ text: 'Production Deploy', link: '/id/recipes/production-deploy' },
483-
{ text: 'Audit Kepatuhan', link: '/id/recipes/audit-compliance' }
480+
{ text: 'Audit Kepatuhan', link: '/id/recipes/audit-compliance' },
481+
{ text: 'Worker Pool', link: '/id/recipes/worker-pool' }
484482
]
485483
}
486484
]

0 commit comments

Comments
 (0)