Skip to content

Commit

Permalink
redirectfix (#1120)
Browse files Browse the repository at this point in the history
- **more redirect fixes**
- **more fixes of redirects**

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Fixes documentation redirects by updating `slug` fields and
`redirects` in `docs.yml` for AWS, Docker, NextJS, and OpenAPI pages.
> 
>   - **Redirect Fixes**:
> - Update `slug` to `title` in `aws.mdx`, `docker.mdx`, `nextjs.mdx`,
and `openapi.mdx`.
> - Correct `slug` in `environment-variables.mdx` to
`/guide/development/environment-variables`.
> - Update `redirects` in `docs.yml` for
`/docs/get-started/deploying/docker`,
`/docs/get-started/deploying/nextjs`, `/docs/get-started/deploying/aws`,
and `/docs/get-started/deploying/openapi` to point to
`/guide/development/deploying/...` paths.
> 
> <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 b3b7e6b. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
aaronvg authored Oct 30, 2024
1 parent 983a0ae commit 222cdd0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fern/01-guide/03-development/deploying/aws.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: docs/get-started/deploying/aws
title: AWS
---

You can use [SST](https://sst.dev/) to define the Lambda configuration and deploy it.
Expand Down
2 changes: 1 addition & 1 deletion fern/01-guide/03-development/deploying/docker.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: docs/get-started/deploying/docker
title: Docker
---


Expand Down
2 changes: 1 addition & 1 deletion fern/01-guide/03-development/deploying/nextjs.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: docs/get-started/deploying/nextjs
title: NextJS
---

To deploy a NextJS with BAML, take a look at the starter template:
Expand Down
2 changes: 1 addition & 1 deletion fern/01-guide/03-development/deploying/openapi.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: docs/get-started/deploying/openapi
title: OpenAPI
---

<Info>
Expand Down
2 changes: 1 addition & 1 deletion fern/01-guide/03-development/environment-variables.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Set Environment Variables
slug: docs/guide/development/environment-variables
slug: /guide/development/environment-variables
---


Expand Down
8 changes: 4 additions & 4 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -562,13 +562,13 @@ redirects:
- source: "/baml/get-started/debugging/exception-handling"
destination: "/guide/baml-basics/error-handling"
- source: "/docs/get-started/deploying/docker"
destination: "/docs/get-started/deploying/docker"
destination: "/guide/development/deploying/docker"
- source: "/docs/get-started/deploying/nextjs"
destination: "/docs/get-started/deploying/nextjs"
destination: "/guide/development/deploying/nextjs"
- source: "/docs/get-started/deploying/aws"
destination: "/docs/get-started/deploying/aws"
destination: "/guide/development/deploying/aws"
- source: "/docs/get-started/deploying/openapi"
destination: "/docs/get-started/deploying/openapi"
destination: "/guide/development/deploying/openapi"
- source: "/docs/snippets/syntax/comments"
destination: "/ref/baml/general-baml-syntax/comments"
- source: "/docs/snippets/syntax/strings"
Expand Down

0 comments on commit 222cdd0

Please sign in to comment.