Skip to content

Commit

Permalink
feat: add contributors and badge to doc pages (#173)
Browse files Browse the repository at this point in the history
* docs: added the logo

* docs: title alignment to center

* feat: add contributors and badge to all doc pages

---------

Co-authored-by: Chau Tran <nartc7789@gmail.com>
  • Loading branch information
JeevanMahesha and nartc committed Nov 24, 2023
1 parent 1b1efe2 commit b468031
Show file tree
Hide file tree
Showing 31 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Components/host-binding.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: hostBinding
description: ngxtension/host-binding
badge: stable
contributor: Lucas Garcia
---

`hostBinding` is a function that returns either a _writable_ or _readonly_ signal and binds the value held in that signal to the host property passed as the first argument like `@HostBinding` would do.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Directives/click-outside.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: clickOutside
description: An Angular directive that is used to detect clicks outside the element.
badge: stable
contributor: Dale Nguyen
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Directives/repeat.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: repeat
description: An Angular directive extending NgFor to allow iteration over a fixed number of iterations.
badge: stable
contributor: Chau Tran
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Directives/resize.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: resize
description: An Angular directive and function for listening to element resize events, allowing you to respond dynamically to changes in element size.
badge: stable
contributor: Tomer953
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Directives/trackby-id-prop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: TrackById / TrackByProp
description: Angular directives that simplify using trackBy in *ngFor, eliminating the need for custom component methods.
badge: stable
contributor: Daniele Morosinotto
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Forms/if-validator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: ifValidator / ifAsyncValidator
description: Utility functions to dynamically change the validation of Angular's Reactive Form.
badge: stable
contributor: Tomer953
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Gesture/gesture.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Gesture
description: ngxtension/gestures
badge: stable
contributor: Chau Tran
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Gesture/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: 'Introduction'
description: 'ngxtension/gestures'
badge: stable
contributor: Chau Tran
sidebar:
order: 1
---
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/active-element.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectActiveElement
description: An Angular utility to create an Observable that emits active element from the document.
badge: stable
contributor: Nevzat Topçu
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/assert-injector.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: assertInjector
description: ngxtension/assert-injector
badge: stable
contributor: Chau Tran
---

`assertInjector` is an extension of [`assertInInjectionContext`](https://angular.io/api/core/assertInInjectionContext) that accepts a `Function` and an optional custom `Injector`
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/auto-effect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectAutoEffect
description: ngxtension/auto-effect
badge: stable
contributor: Chau Tran
---

`injectAutoEffect` is a CIF that returns an _auto-wired_ `Effect`, hence the name `auto-effect`. This `Effect` can be used in places that do not have an **implicit** Injection Context like `ngOnInit` or `afterNextRender`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: createInjectionToken
description: Create an InjectionToken and return an injectFn and provideFn for it as well.
badge: stable
contributor: Chau Tran
---

`createInjectionToken` is an abstraction over the creation of an [`InjectionToken`](https://angular.io/api/core/InjectionToken) and returns a tuple of `[injectFn, provideFn, TOKEN]`
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/inject-destroy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectDestroy
description: ngxtension/inject-destroy
badge: stable
contributor: Enea Jahollari
---

`injectDestroy` is a helper function that returns an observable that emits when the component is destroyed.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectIsIntersecting
description: ngxtension/inject-is-intersecting
badge: stable
contributor: Enea Jahollari
---

`injectIsIntersecting` is a helper function that returns an observable that emits when the component/directive or a given element is being intersected.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/inject-lazy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectLazy
description: ngxtension/inject-lazy
badge: stable
contributor: Enea Jahollari
---

`injectLazy` is a helper function that allows us to lazily load a service or any kind of Angular provider.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/inject-params.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectParams
description: ngxtension/inject-params
badge: stable
contributor: Enea Jahollari
---

`injectParams` is a helper function that allows us to inject params from the current route as a signal.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectQueryParams
description: ngxtension/inject-query-params
badge: stable
contributor: Enea Jahollari
---

`injectQueryParams` is a helper function that allows us to inject query params from the current route as a signal.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Injectors/navigation-end.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: injectNavigationEnd
description: An Angular utility to create an Observable that emits NavigationEnd events from the Angular Router.
badge: stable
contributor: Mateusz Stefańczyk
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Intl/intl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Intl
description: Additional Intl Utilities for formatting numbers, strings, and other objects.
badge: stable
contributor: Ion Prodan
---

This is a collection of pipes designed for Angular applications that leverage the [Intl API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: createSingletonProxy
description: ngxtension/singleton-proxy
badge: stable
contributor: Chau Tran
---

`createSingletonProxy` creates a singleton instance of a given class when a property within it is accessed, not before.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Operators/debug.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: debug
description: An RxJS operator that helps to debug what happens in an observable pipeline, it'll console.log all emitted values + final events (console.warn completed or console.error).
badge: stable
contributor: Daniele Morosinotto
---

## Import
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: mapSkipUndefined
description: An RxJS operator that allows applying a transform function to each value of the observable in (same as map), but with the ability to skip (filter out) some values if the function explicitly returns undefined or simply doesn't return anything for same code-path (implicit return undefined).
badge: stable
contributor: Daniele Morosinotto
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Operators/reduce-array.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: reduceArray
description: An RxJS operator designed to apply a reduce function to an array within an Observable stream, simplifying array transformations.
badge: stable
contributor: Tomer953
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Operators/rx-effect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: rxEffect
description: ngxtension/rx-effect
badge: stable
contributor: Lucas Garcia
---

`rxEffect` is a utility function that helps you create a side effect with rxjs, returning an already well handled `Subscription` with `takeUntilDestroyed` within it.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Pipes/call-apply.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: CallPipe / ApplyPipe
description: Standalone Angular pipes for invoking pure functions with arguments, leveraging Angular's pure pipe memoization.
badge: stable
contributor: Daniele Morosinotto
---

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Signals/computed-from.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: computedFrom
description: ngxtension/computed-from
badge: stable
contributor: Enea Jahollari
---

`computedFrom` is a helper function that combines the values of `Observable`s or `Signal`s and emits the combined value.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Signals/computed.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: computed/extendedComputed
description: ngxtension/computed
badge: stable
contributor: Chau Tran
---

`computed` / `extendedComputed` is an extension of Angular's `computed`. The main difference is `extendedComputed` callback is invoked with the previously computed value. This providers better DX for cases where the consumers need conditional computed and the result should have the previously computed value when a condition does not pass.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Signals/connect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: connect
description: ngxtension/connect
badge: stable
contributor: Enea Jahollari
---

`connect` is a utility function that connects a signal to an observable and returns a subscription. The subscription is automatically unsubscribed when the component is destroyed. If it's not called in an injection context, it must be called with an injector or DestroyRef.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Signals/signal-slice.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: signalSlice
description: ngxtension/signalSlice
badge: stable
contributor: Josh Morony
---

`signalSlice` is loosely inspired by the `createSlice` API from Redux Toolkit. The general idea is that it allows you to declaratively create a "slice" of state. This state will be available as a **readonly** signal.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Signals/to-lazy-signal.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: toLazySignal
description: ngxtension/to-lazy-signal
badge: stable
contributor: Evgeniy OZ
---

Using `toLazySignal()`, you can save some requests or improve performance.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/content/docs/utilities/Stores/create-effect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: createEffect
description: ngxtension/create-effect
badge: stable
contributor: Chau Tran
---

`createEffect` is a standalone version of [NgRx ComponentStore Effect](https://ngrx.io/guide/component-store/effect)
Expand Down

0 comments on commit b468031

Please sign in to comment.