Skip to content

Commit

Permalink
[docs] Fix 404 links
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 30, 2024
1 parent 46d2f71 commit 4c62e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The component is composable with any authentication library you might want to us

#### Setting up

If you're using [`create-toolpad-app`](/toolpad/core/installation/), or the [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), Auth.js is already installed. To proceed, add `AUTH_SECRET` to the environment variables by running:
If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), Auth.js is already installed. To proceed, add `AUTH_SECRET` to the environment variables by running:

```bash
npx auth secret
Expand All @@ -74,7 +74,7 @@ GITHUB_CLIENT_SECRET=<your-client-secret>

##### Server Configuration

If you're using [`create-toolpad-app`](/toolpad/core/installation/), or the default [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), this server configuration is already set up for you.
If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the default [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), this server configuration is already set up for you.

Otherwise, follow the [custom sign in page instructions](https://authjs.dev/guides/pages/signin) to set up the server configuration.

Expand Down
4 changes: 1 addition & 3 deletions docs/public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/toolpad/getting-started/tutorial/ /toolpad/studio/getting-started/ 301
/toolpad/data-fetching/rest/ /toolpad/studio/concepts/http-requests/ 301
/toolpad/data-fetching/google-sheets/ /toolpad/studio/how-to-guides/connect-to-googlesheets/ 301

# 2023
/toolpad/getting-started/quickstart/ /toolpad/studio/getting-started/first-app/ 301
/toolpad/schema-reference/ /toolpad/studio/reference/file-schema/ 301
Expand Down Expand Up @@ -35,16 +34,15 @@
/toolpad/concepts/managing-state/ /toolpad/studio/concepts/event-handling/ 301
/toolpad/reference/components/datagrid/ /toolpad/studio/reference/components/data-grid/ 301
/toolpad/getting-started/overview/ /toolpad/studio/getting-started/ 301

# 2024

# Separate Studio and Core
/toolpad/getting-started/* /toolpad/studio/getting-started/:splat 301
/toolpad/examples/* /toolpad/studio/examples/:splat 301
/toolpad/concepts/* /toolpad/studio/concepts/:splat 301
/toolpad/components/* /toolpad/studio/components/:splat 301
/toolpad/how-to-guides/* /toolpad/studio/how-to-guides/:splat 301
/toolpad/reference/* /toolpad/studio/reference/:splat 301
/toolpad/core/installation/ /toolpad/core/introduction/installation/ 301

# Create separate namespace on https://mui.com
/ /toolpad/

0 comments on commit 4c62e15

Please sign in to comment.