From c4caa5f46bd1672b42a50888e54442b4167f60b6 Mon Sep 17 00:00:00 2001 From: enzonotario Date: Fri, 10 Jan 2025 22:22:36 -0300 Subject: [PATCH] chore(docs): example sidebar items --- docs/.vitepress/config.mts | 40 +++----------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index e558950..d36bd36 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -152,43 +152,9 @@ export default defineConfigWithTheme({ text: 'Introduction', link: '/example/introduction', }, - { - text: 'By Tags', - collapsed: true, - items: [ - ...sidebar.itemsByTags({ - linkPrefix: '/example/tags/', - }), - ], - }, - { - text: 'By Operations', - collapsed: true, - items: [ - ...sidebar.generateSidebarGroups({ - linkPrefix: '/example/operations/', - }), - ], - }, - { - text: 'By Paths', - collapsed: true, - items: [ - ...sidebar.itemsByPaths({ - linkPrefix: '/example/operations/', - }), - ], - }, - { - text: 'By Paths Flatten', - collapsed: true, - items: [ - ...sidebar.itemsByPaths({ - depth: 2, - linkPrefix: '/example/operations/', - }), - ], - }, + ...sidebar.generateSidebarGroups({ + linkPrefix: '/example/operations/', + }), { text: 'One Page', link: '/example/one-page',