Skip to content

Commit

Permalink
Fix infinite redirect on docs (#1119)
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Fixes infinite redirect by correcting the redirect path in `docs.yml`.
> 
>   - **Redirect Fix**:
> - Corrects redirect in `docs.yml` from `/docs/baml-nextjs/baml-nextjs`
to `/guides/installation-language/next-js` to fix infinite redirect
issue.
>   - **Misc**:
>     - Removes `slug` from `nextjs.mdx` front matter.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 4f1266f. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
aaronvg authored Oct 30, 2024
1 parent bab2767 commit 983a0ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fern/01-guide/08-integrations/nextjs.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Next.js Integration
slug: docs/baml-nextjs/baml-nextjs

---

BAML can be used with Vercel's AI SDK to stream BAML functions to your UI.
Expand Down
2 changes: 1 addition & 1 deletion fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ redirects:
- source: "/docs/calling-baml/multi-modal"
destination: "/guide/baml-basics/multi-modal"
- source: "/docs/baml-nextjs/baml-nextjs"
destination: "/docs/baml-nextjs/baml-nextjs"
destination: "/guides/installation-language/next-js"
- source: "/docs/observability/overview"
destination: "/guide/observability/tracking-usage"
- source: "/docs/observability/tracing-tagging"
Expand Down

0 comments on commit 983a0ae

Please sign in to comment.