Skip to content

Commit

Permalink
fix(navigation): use autogenerate fonction to create navigation sideb…
Browse files Browse the repository at this point in the history
…ar (#68)

Co-authored-by: thomas <thomas.ext@squadracer.com>
  • Loading branch information
tomalaforge and thomas committed Sep 18, 2023
1 parent 7b13372 commit 88221e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 44 deletions.
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,7 @@ nx generate ngxtension:init

<!-- UTILITIES:START -->

- [assert-injector](https://ngxtension.netlify.app/utilities/assert-injector)
- [call-apply](https://ngxtension.netlify.app/utilities/call-apply)
- [computed-from](https://ngxtension.netlify.app/utilities/computed-from)
- [connect](https://ngxtension.netlify.app/utilities/connect)
- [create-effect](https://ngxtension.netlify.app/utilities/create-effect)
- [create-injection-token](https://ngxtension.netlify.app/utilities/create-injection-token)
- [if-validator](https://ngxtension.netlify.app/utilities/if-validator)
- [inject-destroy](https://ngxtension.netlify.app/utilities/inject-destroy)
- [navigation-end](https://ngxtension.netlify.app/utilities/navigation-end)
- [repeat](https://ngxtension.netlify.app/utilities/repeat)
- [resize](https://ngxtension.netlify.app/utilities/resize)
- [trackby-id-prop](https://ngxtension.netlify.app/utilities/trackby-id-prop)
Check [the documentation](https://ngxtension.netlify.app/utilities/assert-injector/).

<!-- UTILITIES:END -->

Expand Down
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 88221e1

Please sign in to comment.