Skip to content

Commit 2d644f8

Browse files
committed
docs(config): register by design sidebar group
- Add By Design group to English sidebar after Error Handling - Add Sesuai Desain group to Indonesian sidebar after Penanganan Error
1 parent 6b6e3b1 commit 2d644f8

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,25 @@ export default withMermaid(
220220
{ text: 'Defense in Depth', link: '/error-handling/defense-in-depth' },
221221
{ text: 'Object Details', link: '/error-handling/object-details' }
222222
]
223+
},
224+
{
225+
text: 'By Design',
226+
collapsed: true,
227+
items: [
228+
{ text: 'Overview', link: '/by-design/' },
229+
{ text: 'Compression', link: '/by-design/compress' },
230+
{ text: 'Pretty JSON', link: '/by-design/pretty-json' },
231+
{ text: 'HTTPS Redirect', link: '/by-design/https-redirect' },
232+
{ text: 'Bearer Auth', link: '/by-design/bearer-auth' },
233+
{ text: 'XSS Input Sanitizer', link: '/by-design/xss' },
234+
{ text: 'Caching', link: '/by-design/cache' },
235+
{ text: 'Rate Limiting', link: '/by-design/rate-limit' },
236+
{ text: 'Request ID', link: '/by-design/request-id' },
237+
{ text: 'Method Override', link: '/by-design/method-override' },
238+
{ text: 'Locale Redirect', link: '/by-design/locale-redirect' },
239+
{ text: 'Server-Timing', link: '/by-design/server-timing' },
240+
{ text: 'Distributed Tracing', link: '/by-design/tracing' }
241+
]
223242
}
224243
]
225244
},
@@ -380,6 +399,25 @@ export default withMermaid(
380399
{ text: 'Pertahanan Berlapis', link: '/id/error-handling/defense-in-depth' },
381400
{ text: 'Detail Objek', link: '/id/error-handling/object-details' }
382401
]
402+
},
403+
{
404+
text: 'Sesuai Desain',
405+
collapsed: true,
406+
items: [
407+
{ text: 'Ringkasan', link: '/id/by-design/' },
408+
{ text: 'Kompresi', link: '/id/by-design/compress' },
409+
{ text: 'Pretty JSON', link: '/id/by-design/pretty-json' },
410+
{ text: 'HTTPS Redirect', link: '/id/by-design/https-redirect' },
411+
{ text: 'Bearer Auth', link: '/id/by-design/bearer-auth' },
412+
{ text: 'XSS Input Sanitizer', link: '/id/by-design/xss' },
413+
{ text: 'Caching', link: '/id/by-design/cache' },
414+
{ text: 'Rate Limiting', link: '/id/by-design/rate-limit' },
415+
{ text: 'Request ID', link: '/id/by-design/request-id' },
416+
{ text: 'Method Override', link: '/id/by-design/method-override' },
417+
{ text: 'Locale Redirect', link: '/id/by-design/locale-redirect' },
418+
{ text: 'Server-Timing', link: '/id/by-design/server-timing' },
419+
{ text: 'Distributed Tracing', link: '/id/by-design/tracing' }
420+
]
383421
}
384422
]
385423
},

0 commit comments

Comments
 (0)