Skip to content

Commit

Permalink
fix(navigation): use autogenerate fonction to create navigation sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Sep 18, 2023
1 parent 255def1 commit 6650d87
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,41 +19,11 @@ export default defineConfig({
sidebar: [
{
label: 'Getting Started',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Introduction', link: '/getting-started/introduction' },
{ label: 'Installation', link: '/getting-started/installation' },
],
autogenerate: { directory: 'getting-started' },
},
{
label: 'Utilities',
items: [
// Each item here is one entry in the navigation menu. sorted alphabetically.
{ label: 'assertInjector', link: '/utilities/assert-injector' },
{ label: 'call apply Pipes', link: '/utilities/call-apply' },
{
label: 'computedFrom',
link: '/utilities/computed-from',
},
{
label: 'connect',
link: '/utilities/connect',
},
{ label: 'createEffect', link: '/utilities/create-effect' },
{
label: 'createInjectionToken',
link: '/utilities/create-injection-token',
},
{ label: 'ifValidator', link: '/utilities/if-validator' },
{
label: 'injectDestroy',
link: '/utilities/inject-destroy',
},
{ label: 'navigationEnd', link: '/utilities/navigation-end' },
{ label: 'repeat', link: '/utilities/repeat' },
{ label: 'resize', link: '/utilities/resize' },
{ label: 'trackByDirectives', link: '/utilities/trackby-id-prop' },
],
autogenerate: { directory: 'utilities' },
},
],
}),
Expand Down

0 comments on commit 6650d87

Please sign in to comment.