Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

change to new-docs

Inianb2a53019cc5e
diff --git a/apps/reference/docusaurus.config.js b/apps/reference/docusaurus.config.js
index 5c4ff65eb8b..8bfdfa9ff05 100644
--- a/apps/reference/docusaurus.config.js
+++ b/apps/reference/docusaurus.config.js
@@ -10,7 +10,7 @@ const config = {
title: 'Supabase',
tagline: 'The open source Firebase alternative.',
url: 'https://supabase.com',
- baseUrl: '/docs1/',
+ baseUrl: '/new-docs/',
onBrokenLinks: 'ignore', // TODO: remove this when going into prod
// onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
diff --git a/apps/reference/package.json b/apps/reference/package.json
index f3637462569..d47236636db 100644
--- a/apps/reference/package.json
+++ b/apps/reference/package.json
@@ -8,7 +8,7 @@
"docusaurus": "docusaurus start --port 3010",
"swizzle": "docusaurus swizzle",
"build": "docusaurus build",
- "build:vercel": "docusaurus build --out-dir build/docs",
+ "build:vercel": "docusaurus build --out-dir build/new-docs",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
diff --git a/apps/reference/vercel.json b/apps/reference/vercel.json
index b2422c071c0..d0aac7f1384 100644
--- a/apps/reference/vercel.json
+++ b/apps/reference/vercel.json
@@ -2,7 +2,7 @@
"redirects": [
{
"source": "/",
- "destination": "/docs1"
+ "destination": "/new-docs"
}
]
}
diff --git a/apps/www/next.config.js b/apps/www/next.config.js
index caa71155fe1..c4a3c880e4b 100644
--- a/apps/www/next.config.js
+++ b/apps/www/next.config.js
@@ -62,17 +62,17 @@ module.exports = withMDX({
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/:path*`,
},
{
- source: '/docs1',
+ source: '/new-docs',
destination: `${process.env.NEXT_PUBLIC_REFERENCE_DOCS_URL}`,
},
{
// redirect /docs/
// trailing slash caused by docusaurus issue with multizone
- source: '/docs1/',
+ source: '/new-docs/',
destination: `${process.env.NEXT_PUBLIC_REFERENCE_DOCS_URL}`,
},
{
- source: '/docs1/:path*',
+ source: '/new-docs/:path*',
destination: `${process.env.NEXT_PUBLIC_REFERENCE_DOCS_URL}/:path*`,
},
{