Skip to content

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

Fix search indexing

Terry Suttonc0c1793d4ad1
diff --git a/apps/docs/pages/getting-started.mdx b/apps/docs/pages/getting-started.mdx
deleted file mode 100644
index 73bee6242d4..00000000000
--- a/apps/docs/pages/getting-started.mdx
+++ /dev/null
@@ -1,44 +0,0 @@
-import Layout from '~/layouts/DefaultLayout'
-import Link from 'next/link'
-import { GlassPanel } from 'ui'
-
-export const meta = {
- title: 'Getting started',
-}
-
-### Quickstarts
-
-<div className="grid grid-cols-12 gap-6 not-prose">
- {quickstarts.map((item) => {
- return (
- <Link href={`/${item.href}`} key={item.title} passHref>
- <a className={'col-span-4'}>
- <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>
- {item.description}
- </GlassPanel>
- </a>
- </Link>
- )
- })}
-</div>
-
-export const quickstarts = [
- {
- title: 'NextJS',
- href: '/guides/tutorials/with-nextjs',
- description:
- 'Learn how to build a user management app with NextJS and Supabase Database, Auth, and Storage functionality.',
- icon: '/docs/img/icons/nextjs-icon',
- },
- {
- title: 'React',
- href: '/guides/tutorials/with-react',
- description:
- 'Learn how to build a user management app with React and Supabase Database, Auth, and Storage functionality.',
- icon: '/docs/img/icons/react-icon',
- },
-]
-
-export const Page = ({ children }) => <Layout meta={meta} children={children} />
-
-export default Page
diff --git a/apps/docs/pages/guides/auth/overview.mdx b/apps/docs/pages/guides/auth/overview.mdx
index 5e9e4639ea8..210374ebf3c 100644
--- a/apps/docs/pages/guides/auth/overview.mdx
+++ b/apps/docs/pages/guides/auth/overview.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import OldContent from '~/pages/guides/auth.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth',
+ title: 'Auth',
+ description: 'Use Supabase to Authenticate and Authorize your users.',
+ sidebar_label: 'Overview',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/passwordless-login/email-otp-magic-link.mdx b/apps/docs/pages/guides/auth/passwordless-login/email-otp-magic-link.mdx
index 23fb31a4e63..8e6bb09d58e 100644
--- a/apps/docs/pages/guides/auth/passwordless-login/email-otp-magic-link.mdx
+++ b/apps/docs/pages/guides/auth/passwordless-login/email-otp-magic-link.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-magic-link.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-magic-link',
+ title: 'Login With Magic Link',
+ description: 'Use Supabase to authenticate and authorize your users using magic links.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx
index 14101c9aa77..93e300fd59b 100644
--- a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx
+++ b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-messagebird.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-messagebird',
+ title: 'Phone Auth with MessageBird',
+ description: 'How to set up and use Mobile OTP with MessageBird and Supabase.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx
index 2776333bc65..922d4a33db1 100644
--- a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx
+++ b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-twilio.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-twilio',
+ title: 'Phone Auth with Twilio',
+ description: 'How to set up and use Mobile OTP with Twilio and Supabase.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx
index 8402a573de0..deec90db1d5 100644
--- a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx
+++ b/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-vonage.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-vonage',
+ title: 'Phone Auth with Vonage',
+ description: 'How to set up and use Mobile OTP with Vonage and Supabase.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-apple.mdx b/apps/docs/pages/guides/auth/social-login/auth-apple.mdx
index 4c48c0a9459..43257cc81c4 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-apple.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-apple.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-apple.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-apple',
+ title: 'Login with Apple',
+ description: 'Add Apple OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-azure.mdx b/apps/docs/pages/guides/auth/social-login/auth-azure.mdx
index 1f28b3fb092..09100d4fb3d 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-azure.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-azure.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-azure.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-azure',
+ title: 'Login with Azure',
+ description: 'Add Azure OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-bitbucket.mdx b/apps/docs/pages/guides/auth/social-login/auth-bitbucket.mdx
index 3d93801bb81..0d3b621ea44 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-bitbucket.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-bitbucket.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-bitbucket.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-bitbucket',
+ title: 'Login with Bitbucket',
+ description: 'Add Bitbucket OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-discord.mdx b/apps/docs/pages/guides/auth/social-login/auth-discord.mdx
index 70a3a644c2c..67701ea1187 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-discord.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-discord.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-discord.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-discord',
+ title: 'Login with Discord',
+ description: 'Add Discord OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-facebook.mdx b/apps/docs/pages/guides/auth/social-login/auth-facebook.mdx
index 6cd572e0739..ed30fbca144 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-facebook.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-facebook.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-facebook.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-facebook',
+ title: 'Login with Facebook',
+ description: 'Add Facebook OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-github.mdx b/apps/docs/pages/guides/auth/social-login/auth-github.mdx
index 21b3902d84e..3d9de6485f7 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-github.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-github.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-github.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-github',
+ title: 'Login with GitHub',
+ description: 'Add GitHub OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-gitlab.mdx b/apps/docs/pages/guides/auth/social-login/auth-gitlab.mdx
index 947f7925efa..5447cc696b6 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-gitlab.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-gitlab.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-gitlab.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-gitlab',
+ title: 'Login with GitLab',
+ description: 'Add GitLab OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-google.mdx b/apps/docs/pages/guides/auth/social-login/auth-google.mdx
index 2f445ae278b..e19c0d8a935 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-google.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-google.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-google.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-google',
+ title: 'Login with Google',
+ description: 'Add Google OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-keycloak.mdx b/apps/docs/pages/guides/auth/social-login/auth-keycloak.mdx
index 3be5c61719e..e71dc8a393f 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-keycloak.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-keycloak.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-keycloak.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-keycloak',
+ title: 'Login with Keycloak',
+ description: 'Add Keycloak OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx b/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx
index 3a3e625896e..a027c482afc 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-linkedin.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-linkedin',
+ title: 'Login with LinkedIn',
+ description: 'Add LinkedIn OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-notion.mdx b/apps/docs/pages/guides/auth/social-login/auth-notion.mdx
index 4554f8cd393..50dc672d080 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-notion.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-notion.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-notion.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-notion',
+ title: 'Login with Notion',
+ description: 'Add Notion OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-slack.mdx b/apps/docs/pages/guides/auth/social-login/auth-slack.mdx
index 5233c193a3f..b724a321068 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-slack.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-slack.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-slack.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-slack',
+ title: 'Login with Slack',
+ description: 'Add Slack OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-spotify.mdx b/apps/docs/pages/guides/auth/social-login/auth-spotify.mdx
index 1a0797d39c4..69c931f6f7d 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-spotify.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-spotify.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-spotify.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-spotify',
+ title: 'Login with Spotify',
+ description: 'Add Spotify OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-twilio.mdx b/apps/docs/pages/guides/auth/social-login/auth-twilio.mdx
index 2776333bc65..922d4a33db1 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-twilio.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-twilio.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-twilio.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-twilio',
+ title: 'Phone Auth with Twilio',
+ description: 'How to set up and use Mobile OTP with Twilio and Supabase.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-twitch.mdx b/apps/docs/pages/guides/auth/social-login/auth-twitch.mdx
index 0f912a88b4a..ae5a108d34f 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-twitch.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-twitch.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-twitch.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-twitch',
+ title: 'Login with Twitch',
+ description: 'Add Twitch OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-twitter.mdx b/apps/docs/pages/guides/auth/social-login/auth-twitter.mdx
index 7cad6e48f2a..c29dbe75b23 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-twitter.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-twitter.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-twitter.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-twitter',
+ title: 'Login with Twitter',
+ description: 'Add Twitter OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-workos.mdx b/apps/docs/pages/guides/auth/social-login/auth-workos.mdx
index 4cf92bc3dd6..54ab92808ce 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-workos.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-workos.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-workos.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-workos',
+ title: 'Login with WorkOS',
+ description: 'Add WorkOS OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/auth/social-login/auth-zoom.mdx b/apps/docs/pages/guides/auth/social-login/auth-zoom.mdx
index aac66bd5d1b..148b9772219 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-zoom.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-zoom.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/auth/auth-zoom.mdx'
-export const meta = {}
+export const meta = {
+ id: 'auth-zoom',
+ title: 'Login with Zoom',
+ description: 'Add Zoom OAuth to your Supabase project',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/database/overview.mdx b/apps/docs/pages/guides/database/overview.mdx
index 2e686bd663c..1cfbc2357db 100644
--- a/apps/docs/pages/guides/database/overview.mdx
+++ b/apps/docs/pages/guides/database/overview.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/database.mdx'
-export const meta = {}
+export const meta = {
+ id: 'database',
+ title: 'Database',
+ description: 'Use Supabase to manage your data.',
+ sidebar_label: 'Overview',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/examples.mdx b/apps/docs/pages/guides/resources/examples.mdx
index d0ae21250ac..7faddafc507 100644
--- a/apps/docs/pages/guides/resources/examples.mdx
+++ b/apps/docs/pages/guides/resources/examples.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/examples.mdx'
-export const meta = {}
+export const meta = {
+ id: 'examples',
+ title: 'Examples and Resources',
+ description: 'Examples you can use to get started with Supabase',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-auth.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-auth.mdx
index 9f07147d73a..2e2cd1181ec 100644
--- a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-auth.mdx
+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-auth.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/migrations/firebase-auth.mdx'
-export const meta = {}
+export const meta = {
+ id: 'firebase-auth',
+ title: 'Firebase Auth Migration',
+ description: 'Migrate Firebase auth users to a Supabase project.',
+ sidebar_label: 'Firebase Auth',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-data.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-data.mdx
index 12973861a8e..15f6b257b0a 100644
--- a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-data.mdx
+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-data.mdx
@@ -1,13 +1,18 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/migrations/firestore-data.mdx'
-export const meta = {}
+export const meta = {
+ id: 'firestore-data',
+ title: 'Firestore Data Migration',
+ description: 'Migrate your Firebase Firestore database to a Supabase Postgres database.',
+ sidebar_label: 'Firestore Data',
+}
export const Page = ({ children }) => {
-if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
-return oldContent()
-}
-return <Layout meta={meta} children={children} />
+ if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
+ return oldContent()
+ }
+ return <Layout meta={meta} children={children} />
}
export default Page
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-storage.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-storage.mdx
index fd010e8b09d..b093df61ab9 100644
--- a/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-storage.mdx
+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/firebase-storage.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/migrations/firebase-storage.mdx'
-export const meta = {}
+export const meta = {
+ id: 'firebase-storage',
+ title: 'Firebase Storage Migration',
+ description: 'Migrate Firebase Storage files to Supabase Storage.',
+ sidebar_label: 'Firebase Storage',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/heroku.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/heroku.mdx
index 02d9ffe4a43..2bf4004f95a 100644
--- a/apps/docs/pages/guides/resources/migrating-to-supabase/heroku.mdx
+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/heroku.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/migrations/heroku.mdx'
-export const meta = {}
+export const meta = {
+ id: 'heroku',
+ title: 'Migrate from Heroku to Supabase',
+ description: 'Migrate your Heroku Postgres database to Supabase.',
+ sidebar_label: 'Heroku',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/self-hosting.mdx b/apps/docs/pages/guides/resources/self-hosting.mdx
index ac7097b1a4e..37e118985ee 100644
--- a/apps/docs/pages/guides/resources/self-hosting.mdx
+++ b/apps/docs/pages/guides/resources/self-hosting.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/hosting/overview.mdx'
-export const meta = {}
+export const meta = {
+ id: 'overview',
+ title: 'Self Hosting',
+ sidebar_label: 'Overview',
+ description: 'Getting started with Self Hosting.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/self-hosting/docker.mdx b/apps/docs/pages/guides/resources/self-hosting/docker.mdx
index d57d149a7b1..b310833c98b 100644
--- a/apps/docs/pages/guides/resources/self-hosting/docker.mdx
+++ b/apps/docs/pages/guides/resources/self-hosting/docker.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/hosting/docker.mdx'
-export const meta = {}
+export const meta = {
+ id: 'docker',
+ title: 'Self-hosting with Docker',
+ description: 'How to configure and deploy Supabase.',
+ sidebar_label: 'Docker',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/supabase-cli.mdx b/apps/docs/pages/guides/resources/supabase-cli.mdx
index f208ed9770b..86feaed2fb1 100644
--- a/apps/docs/pages/guides/resources/supabase-cli.mdx
+++ b/apps/docs/pages/guides/resources/supabase-cli.mdx
@@ -1,7 +1,14 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/cli.mdx'
-export const meta = {}
+export const meta = {
+ id: 'cli',
+ title: 'Supabase CLI',
+ description:
+ 'The Supabase CLI provides tools to develop your project locally and deploy to the Supabase Platform.',
+ sidebar_label: 'Overview',
+ toc_max_heading_level: 2,
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/supabase-cli/local-development.mdx b/apps/docs/pages/guides/resources/supabase-cli/local-development.mdx
index ec19e09501c..9e7243950f1 100644
--- a/apps/docs/pages/guides/resources/supabase-cli/local-development.mdx
+++ b/apps/docs/pages/guides/resources/supabase-cli/local-development.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/cli/local-development.mdx'
-export const meta = {}
+export const meta = {
+ id: 'local-development',
+ title: 'Local Development',
+ description: 'How to use Supabase on your local development machine.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/resources/supabase-cli/managing-enviroments.mdx b/apps/docs/pages/guides/resources/supabase-cli/managing-enviroments.mdx
index 9a92962755a..cf3c92956fa 100644
--- a/apps/docs/pages/guides/resources/supabase-cli/managing-enviroments.mdx
+++ b/apps/docs/pages/guides/resources/supabase-cli/managing-enviroments.mdx
@@ -1,7 +1,11 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/cli/managing-environments.mdx'
-export const meta = {}
+export const meta = {
+ id: 'managing-environments',
+ title: 'Managing Environments',
+ description: 'How to deploy Supabase schema changes with a CI / CD pipeline.',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-angular.mdx b/apps/docs/pages/guides/tutorials/with-angular.mdx
index 15bfa56dead..a0770366dff 100644
--- a/apps/docs/pages/guides/tutorials/with-angular.mdx
+++ b/apps/docs/pages/guides/tutorials/with-angular.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-angular.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-angular',
+ title: 'Quickstart: Angular',
+ description: 'Learn how to use Supabase in your Angular App.',
+ sidebar_label: 'Angular',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-expo.mdx b/apps/docs/pages/guides/tutorials/with-expo.mdx
index 7efd769243b..77544c71214 100644
--- a/apps/docs/pages/guides/tutorials/with-expo.mdx
+++ b/apps/docs/pages/guides/tutorials/with-expo.mdx
@@ -1,7 +1,13 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-expo.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-expo',
+ title: 'Quickstart: Expo',
+ description: 'Learn how to use Supabase in your React Native App.',
+ sidebar_label: 'Expo',
+ hide_table_of_contents: false,
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-flutter.mdx b/apps/docs/pages/guides/tutorials/with-flutter.mdx
index 67305a95e3b..67bb214af51 100644
--- a/apps/docs/pages/guides/tutorials/with-flutter.mdx
+++ b/apps/docs/pages/guides/tutorials/with-flutter.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-flutter.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-flutter',
+ title: 'Quickstart: Flutter',
+ description: 'Learn how to use Supabase in your Flutter App.',
+ sidebar_label: 'Flutter',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-ionic-angular.mdx b/apps/docs/pages/guides/tutorials/with-ionic-angular.mdx
index c3b8a3b7a4b..a136b57b95b 100644
--- a/apps/docs/pages/guides/tutorials/with-ionic-angular.mdx
+++ b/apps/docs/pages/guides/tutorials/with-ionic-angular.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-ionic-angular.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-ionic-angular',
+ title: 'Quickstart: Ionic Angular',
+ description: 'Learn how to use Supabase in your Ionic Angular App.',
+ sidebar_label: 'Ionic Angular',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-ionic-react.mdx b/apps/docs/pages/guides/tutorials/with-ionic-react.mdx
index 6f0222be4ab..56e9f2af33a 100644
--- a/apps/docs/pages/guides/tutorials/with-ionic-react.mdx
+++ b/apps/docs/pages/guides/tutorials/with-ionic-react.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-ionic-react.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-ionic-react',
+ title: 'Quickstart: Ionic React',
+ description: 'Learn how to use Supabase in your Ionic React App.',
+ sidebar_label: 'Ionic React',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-ionic-vue.mdx b/apps/docs/pages/guides/tutorials/with-ionic-vue.mdx
index 0ce735328ef..bbc32e339d4 100644
--- a/apps/docs/pages/guides/tutorials/with-ionic-vue.mdx
+++ b/apps/docs/pages/guides/tutorials/with-ionic-vue.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-ionic-vue.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-ionic-vue',
+ title: 'Quickstart: Ionic Vue',
+ description: 'Learn how to use Supabase in your Ionic Vue App.',
+ sidebar_label: 'Ionic Vue',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-nextjs.mdx b/apps/docs/pages/guides/tutorials/with-nextjs.mdx
index cae82cc840a..77564737ca7 100644
--- a/apps/docs/pages/guides/tutorials/with-nextjs.mdx
+++ b/apps/docs/pages/guides/tutorials/with-nextjs.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import OldContent from '~/pages/guides/with-nextjs.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-nextjs',
+ title: 'Quickstart: Next.js',
+ description: 'Learn how to use Supabase in your Next App.',
+ sidebar_label: 'Next.js',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-nuxt-3.mdx b/apps/docs/pages/guides/tutorials/with-nuxt-3.mdx
index 042b287789f..f5f452b09e7 100644
--- a/apps/docs/pages/guides/tutorials/with-nuxt-3.mdx
+++ b/apps/docs/pages/guides/tutorials/with-nuxt-3.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-nuxt-3.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-nuxt-3',
+ title: 'Quickstart: Nuxt 3',
+ description: 'Learn how to use Supabase in your Nuxt 3 App.',
+ sidebar_label: 'Nuxt 3',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-react.mdx b/apps/docs/pages/guides/tutorials/with-react.mdx
index fcab9102b61..58e435bab29 100644
--- a/apps/docs/pages/guides/tutorials/with-react.mdx
+++ b/apps/docs/pages/guides/tutorials/with-react.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-react.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-react',
+ title: 'Quickstart: React',
+ description: 'Learn how to use Supabase in your React App.',
+ sidebar_label: 'React',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-redwoodjs.mdx b/apps/docs/pages/guides/tutorials/with-redwoodjs.mdx
index c2f01c38501..1d044ed13f5 100644
--- a/apps/docs/pages/guides/tutorials/with-redwoodjs.mdx
+++ b/apps/docs/pages/guides/tutorials/with-redwoodjs.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-redwoodjs.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-redwoodjs',
+ title: 'Quickstart: RedwoodJS',
+ description: 'Learn how to use Supabase in your RedwoodJS App.',
+ sidebar_label: 'RedwoodJS',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-solidjs.mdx b/apps/docs/pages/guides/tutorials/with-solidjs.mdx
index 186dc073f30..f03f73a8e93 100644
--- a/apps/docs/pages/guides/tutorials/with-solidjs.mdx
+++ b/apps/docs/pages/guides/tutorials/with-solidjs.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-solidjs.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-solidjs',
+ title: 'Quickstart: SolidJS',
+ description: 'Learn how to use Supabase in your SolidJS App.',
+ sidebar_label: 'SolidJS',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-svelte.mdx b/apps/docs/pages/guides/tutorials/with-svelte.mdx
index f6d8ed2a9fa..349e7af543a 100644
--- a/apps/docs/pages/guides/tutorials/with-svelte.mdx
+++ b/apps/docs/pages/guides/tutorials/with-svelte.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-svelte.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-svelte',
+ title: 'Quickstart: Svelte',
+ description: 'Learn how to use Supabase in your Svelte App.',
+ sidebar_label: 'Svelte',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-sveltekit.mdx b/apps/docs/pages/guides/tutorials/with-sveltekit.mdx
index 0c495eebced..1ead93e6cb5 100644
--- a/apps/docs/pages/guides/tutorials/with-sveltekit.mdx
+++ b/apps/docs/pages/guides/tutorials/with-sveltekit.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-sveltekit.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-sveltekit',
+ title: 'Quickstart: SvelteKit',
+ description: 'Learn how to use Supabase in your SvelteKit App.',
+ sidebar_label: 'SvelteKit',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/pages/guides/tutorials/with-vue-3.mdx b/apps/docs/pages/guides/tutorials/with-vue-3.mdx
index 65f5c5527c8..781137f6ed3 100644
--- a/apps/docs/pages/guides/tutorials/with-vue-3.mdx
+++ b/apps/docs/pages/guides/tutorials/with-vue-3.mdx
@@ -1,7 +1,12 @@
import Layout from '~/layouts/DefaultGuideLayout'
import oldContent from '~/pages/guides/with-vue-3.mdx'
-export const meta = {}
+export const meta = {
+ id: 'with-vue-3',
+ title: 'Quickstart: Vue 3',
+ description: 'Learn how to use Supabase in your Vue 3 App.',
+ sidebar_label: 'Vue 3',
+}
export const Page = ({ children }) => {
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true') {
diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml
index 0f029090db0..f46f4d82d04 100644
--- a/apps/docs/public/sitemap.xml
+++ b/apps/docs/public/sitemap.xml
@@ -36,12 +36,6 @@
<changefreq>0.5</changefreq>
</url>
- <url>
- <loc>https://supabase.com/docs/getting-started</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
<url>
<loc>https://supabase.com/</loc>
<changefreq>weekly</changefreq>
@@ -277,19 +271,13 @@
</url>
<url>
- <loc>https://supabase.com/docs/getting-started/quickstarts/nextjs</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/getting-started/quickstarts/nuxtjs</loc>
+ <loc>https://supabase.com/docs/guides/api/generating-types</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/getting-started/quickstarts/reactjs</loc>
+ <loc>https://supabase.com/docs/new/auth/auth-login</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -324,30 +312,6 @@
<changefreq>0.5</changefreq>
</url>
- <url>
- <loc>https://supabase.com/docs/new/auth/auth-login</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/guides/api/generating-types</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/guides/cli/local-development</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/guides/cli/managing-environments</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
<url>
<loc>https://supabase.com/docs/guides/auth/auth-apple</loc>
<changefreq>weekly</changefreq>
@@ -535,115 +499,127 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/arrays</loc>
+ <loc>https://supabase.com/docs/guides/cli/local-development</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/connecting-to-postgres</loc>
+ <loc>https://supabase.com/docs/guides/cli/managing-environments</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions</loc>
+ <loc>https://supabase.com/docs/guides/functions/auth</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/full-text-search</loc>
+ <loc>https://supabase.com/docs/guides/functions/best-practices</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/functions</loc>
+ <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/json</loc>
+ <loc>https://supabase.com/docs/guides/functions/quickstart</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/managing-passwords</loc>
+ <loc>https://supabase.com/docs/guides/database/arrays</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/managing-timezones</loc>
+ <loc>https://supabase.com/docs/guides/database/connecting-to-postgres</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/overview</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/replication</loc>
+ <loc>https://supabase.com/docs/guides/database/full-text-search</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/sql-to-api</loc>
+ <loc>https://supabase.com/docs/guides/database/functions</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/tables</loc>
+ <loc>https://supabase.com/docs/guides/database/json</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/testing</loc>
+ <loc>https://supabase.com/docs/guides/database/managing-passwords</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/timeouts</loc>
+ <loc>https://supabase.com/docs/guides/database/managing-timezones</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/webhooks</loc>
+ <loc>https://supabase.com/docs/guides/database/overview</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/auth</loc>
+ <loc>https://supabase.com/docs/guides/database/replication</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/best-practices</loc>
+ <loc>https://supabase.com/docs/guides/database/sql-to-api</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc>
+ <loc>https://supabase.com/docs/guides/database/tables</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/quickstart</loc>
+ <loc>https://supabase.com/docs/guides/database/testing</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/guides/database/timeouts</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/guides/database/webhooks</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -901,55 +877,73 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/access-control</loc>
+ <loc>https://supabase.com/docs/guides/resources/examples</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/cdn</loc>
+ <loc>https://supabase.com/docs/guides/resources/glossary</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/quickstart</loc>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/storage-sample</loc>
+ <loc>https://supabase.com/docs/guides/resources/self-hosting</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/examples</loc>
+ <loc>https://supabase.com/docs/guides/resources/supabase-cli</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/glossary</loc>
+ <loc>https://supabase.com/docs/guides/storage/access-control</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase</loc>
+ <loc>https://supabase.com/docs/guides/storage/cdn</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/self-hosting</loc>
+ <loc>https://supabase.com/docs/guides/storage/quickstart</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/supabase-cli</loc>
+ <loc>https://supabase.com/docs/guides/storage/storage-sample</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/getting-started/quickstarts/nextjs</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/getting-started/quickstarts/nuxtjs</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/getting-started/quickstarts/reactjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -1093,199 +1087,199 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-apple</loc>
+ <loc>https://supabase.com/docs/guides/functions/examples/index</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-azure</loc>
+ <loc>https://supabase.com/docs/guides/functions/examples/og-image</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-bitbucket</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/http</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-discord</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/pgcron</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-facebook</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/pgnet</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-github</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/pgtap</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-gitlab</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/plv8</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-google</loc>
+ <loc>https://supabase.com/docs/guides/database/extensions/uuid-ossp</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-keycloak</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-apple</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-linkedin</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-azure</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-notion</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-bitbucket</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-slack</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-discord</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-spotify</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-facebook</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-twilio</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-github</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-twitch</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-gitlab</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-twitter</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-google</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-workos</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-keycloak</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login/auth-zoom</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-linkedin</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/http</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-notion</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/pgcron</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-slack</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/pgnet</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-spotify</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/pgtap</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-twilio</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/plv8</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-twitch</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/database/extensions/uuid-ossp</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-twitter</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-auth</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-workos</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-data</loc>
+ <loc>https://supabase.com/docs/guides/auth/social-login/auth-zoom</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-storage</loc>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-auth</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/heroku</loc>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-data</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/examples/index</loc>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-storage</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/functions/examples/og-image</loc>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/heroku</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/self-hosting/docker</loc>
+ <loc>https://supabase.com/docs/guides/resources/supabase-cli/local-development</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/supabase-cli/local-development</loc>
+ <loc>https://supabase.com/docs/guides/resources/supabase-cli/managing-enviroments</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/supabase-cli/managing-enviroments</loc>
+ <loc>https://supabase.com/docs/guides/resources/self-hosting/docker</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
diff --git a/apps/docs/scripts/build-search.js b/apps/docs/scripts/build-search.js
index ac38e73a5fc..07865a2344c 100644
--- a/apps/docs/scripts/build-search.js
+++ b/apps/docs/scripts/build-search.js
@@ -41,7 +41,6 @@ const nameMap = {
}
async function walk(dir) {
- console.log('dir:', dir)
let files = await fs.promises.readdir(dir)
files = await Promise.all(
files.map(async (file) => {
@@ -67,6 +66,15 @@ async function walk(dir) {
console.log('Preparing docs indexing for Algolia')
+ function extractMeta(mdx) {
+ const regex = /^export\sconst\smeta\s=\s(\{[\w\s':,]*\})/gm
+ const match = regex.exec(mdx)
+ if (match) {
+ return JSON.parse(match[1])
+ }
+ return null
+ }
+
try {
const indexName = process.env.NEXT_PUBLIC_ALGOLIA_INDEX_NAME
const client = algoliasearch(
@@ -75,13 +83,11 @@ async function walk(dir) {
)
const index = client.initIndex(indexName)
- //const referencePages = await walk('docs')
- //const guidePages = (await walk('pages')).filter((slug) => !ignoredFiles.includes(slug))
- //const allPages = guidePages.concat(referencePages)
-
- const newAllpages = (await walk('docs')).filter((slug) => !ignoredFiles.includes(slug))
+ const referencePages = await walk('docs')
+ const guidePages = (await walk('pages')).filter((slug) => !ignoredFiles.includes(slug))
+ const allPages = guidePages.concat(referencePages)
- const searchObjects = newAllpages
+ const searchObjects = allPages
.map((slug) => {
let id, title, description
const fileContents = fs.readFileSync(slug, 'utf8')
@@ -93,7 +99,7 @@ async function walk(dir) {
if (metaIndex !== -1) {
const metaString =
fileContents
- .slice(metaIndex + 20, fileContents.indexOf('}') + 1)
+ .slice(metaIndex + 20, fileContents.indexOf('}', metaIndex + 1) + 1)
.replace(/\n/g, '')
.slice(0, -2) + '}'
const meta = eval(`(${metaString})`)