Skip to content

Commit

Permalink
docs: Fix broken links (#1352)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Taranto <michaeltaranto@users.noreply.github.com>
  • Loading branch information
askoufis and michaeltaranto authored Mar 8, 2024
1 parent d333453 commit ebd6988
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/docs/api/add-function-serializer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parent: api
Typically, if you try to export a function from one of your stylesheets, you'll get an error that you can only export plain objects, arrays, strings, numbers and `null`/`undefined`.

If you're wanting to create higher level abstractions like [Sprinkles](../../packages/sprinkles) or [Recipes](../../packages/recipes), this is a big problem!
If you're wanting to create higher level abstractions like [Sprinkles](/documentation/packages/sprinkles) or [Recipes](/documentation/packages/recipes), this is a big problem!

To address this limitation, the `addFunctionSerializer` utility allows you to annotate your functions with instructions on how to serialize them.

Expand Down
2 changes: 1 addition & 1 deletion site/docs/packages/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Create multi-variant styles with a type-safe runtime API, heavily inspired by [S

As with the rest of vanilla-extract, all styles are generated at build time.

> 💡 Recipes is an optional package built on top of vanilla-extract using its [function serialization API.](../api/add-function-serializer) It doesn't have privileged access to vanilla-extract internals so you're also free to build alternative implementations.
> 💡 Recipes is an optional package built on top of vanilla-extract using its [function serialization API.](/documentation/api/add-function-serializer) It doesn't have privileged access to vanilla-extract internals so you're also free to build alternative implementations.
## Setup

Expand Down
2 changes: 1 addition & 1 deletion site/docs/packages/sprinkles.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generate a static set of custom utility classes and compose them either statical

Basically, it’s like building your own zero-runtime, type-safe version of [Tailwind], [Styled System], etc.

> 💡 Sprinkles is an optional package built on top of vanilla-extract using its [function serialization API.](../api/add-function-serializer) It doesn't have privileged access to vanilla-extract internals so you're also free to build alternative implementations, e.g. [Rainbow Sprinkles.](https://github.com/wayfair/rainbow-sprinkles)
> 💡 Sprinkles is an optional package built on top of vanilla-extract using its [function serialization API.](/documentation/api/add-function-serializer) It doesn't have privileged access to vanilla-extract internals so you're also free to build alternative implementations, e.g. [Rainbow Sprinkles.](https://github.com/wayfair/rainbow-sprinkles)
## Setup

Expand Down

0 comments on commit ebd6988

Please sign in to comment.