Skip to content

Commit

Permalink
chore(docs): example sidebar items
Browse files Browse the repository at this point in the history
  • Loading branch information
enzonotario committed Jan 11, 2025
1 parent 2d2a31e commit c4caa5f
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c4caa5f

Please sign in to comment.