From 983a0ae9effaa11b9ad94e2c5a1961c6ffa93c0a Mon Sep 17 00:00:00 2001 From: aaronvg Date: Tue, 29 Oct 2024 17:15:22 -0700 Subject: [PATCH] Fix infinite redirect on docs (#1119) > [!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. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for 4f1266f1ab5dfc5ab4eb1c5917cdad8256fd87d1. It will automatically update as commits are pushed. --- fern/01-guide/08-integrations/nextjs.mdx | 2 +- fern/docs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/01-guide/08-integrations/nextjs.mdx b/fern/01-guide/08-integrations/nextjs.mdx index f035aa193..f4b07d05a 100644 --- a/fern/01-guide/08-integrations/nextjs.mdx +++ b/fern/01-guide/08-integrations/nextjs.mdx @@ -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. diff --git a/fern/docs.yml b/fern/docs.yml index 00284ce2a..d4b354053 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -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"