diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 004ce383c5d..b6c61adcf19 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -453,21 +453,21 @@ export const reference = {
items: [
{
name: 'supabase-js',
- url: '/new/reference/javascript/start',
+ url: '/reference/javascript/start',
level: 'reference_javascript',
items: [],
icon: '/img/icons/javascript.svg',
},
{
name: 'supabase-dart',
- url: '/new/reference/dart/start',
+ url: '/reference/dart/start',
level: 'reference_dart',
items: [],
icon: '/img/icons/javascript.svg',
},
{
name: 'supbase-python',
- url: '/new/reference/python/start',
+ url: '/reference/python/start',
level: 'reference_python',
items: [],
icon: '/img/icons/javascript.svg',
@@ -479,13 +479,13 @@ export const reference = {
items: [
{
name: 'Supabase CLI',
- url: '/new/reference/cli/start',
+ url: '/reference/cli/start',
items: [],
icon: '/img/icons/cli.svg',
},
{
name: 'Management API',
- url: '/new/reference/javascript',
+ url: '/reference/javascript',
items: [],
icon: '/img/icons/javascript.svg',
},
@@ -598,20 +598,20 @@ export const references = [
versions: ['v2', 'v1'],
description: 'something about the reference',
icon: '/docs/img/icons/javascript-icon.svg',
- url: '/new/reference/javascript/start',
+ url: '/reference/javascript/start',
},
{
label: 'supabase-py',
description: 'something about the reference',
icon: '/docs/img/icons/python-icon.svg',
- url: '/new/reference/python/start',
+ url: '/reference/python/start',
},
{
label: 'supabase-dart',
versions: ['v1', 'v0'],
description: 'something about the reference',
icon: '/docs/img/icons/dart-icon.svg',
- url: '/new/reference/dart/start',
+ url: '/reference/dart/start',
},
],
},
@@ -622,13 +622,13 @@ export const references = [
label: 'CLI',
description: 'something about the reference',
icon: '/docs/img/icons/cli-icon.svg',
- url: '/new/reference/cli/start',
+ url: '/reference/cli/start',
},
{
label: 'Management API',
description: 'something about the reference',
icon: '/docs/img/icons/api-icon.svg',
- url: '/new/reference/management-api/start',
+ url: '/reference/management-api/start',
},
],
},
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
index 1b50f85b9ed..062fb74413b 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
@@ -1,13 +1,11 @@
-import Link from 'next/link'
-import { useRouter } from 'next/router'
-import { useState, useEffect } from 'react'
-import { IconChevronLeft } from '~/../../packages/ui'
-import * as NavItems from './NavigationMenu.constants'
-import NavigationMenuGuideList from './NavigationMenuGuideList'
-import NavigationMenuRefList from './NavigationMenuRefList'
-import NavigationMenuCliList from './NavigationMenuCliList'
import { useTheme } from 'common/Providers'
import Image from 'next/image'
+import Link from 'next/link'
+import { useRouter } from 'next/router'
+import { useEffect, useState } from 'react'
+import NavigationMenuCliList from './NavigationMenuCliList'
+import NavigationMenuGuideList from './NavigationMenuGuideList'
+import NavigationMenuRefList from './NavigationMenuRefList'
const SideNav = () => {
const router = useRouter()
@@ -40,9 +38,6 @@ const SideNav = () => {
case url.includes(`/docs/guides/functions`) && url:
setLevel('functions')
break
- case url.includes(`/docs/reference`) && url:
- setLevel('reference')
- break
case url.includes(`/docs/guides/integrations`) && url:
setLevel('integrations')
break
@@ -50,13 +45,13 @@ const SideNav = () => {
(url.includes(`/docs/guides/hosting/platform`) && url):
setLevel('platform')
break
- case url.includes(`/docs/new/reference/javascript/`) && url:
+ case url.includes(`/docs/reference/javascript/initializing`) && url:
setLevel('reference_javascript')
break
- case url.includes(`/docs/new/reference/dart/`) && url:
+ case url.includes(`/docs/reference/dart/initializing`) && url:
setLevel('reference_dart')
break
- case url.includes(`/docs/new/reference/cli/`) && url:
+ case url.includes(`/docs/reference/cli/initializing`) && url:
setLevel('reference_cli')
break
@@ -155,21 +150,21 @@ const SideNav = () => {
label: 'JavaScript Client',
icon: '/img/icons/javascript-icon',
hasLightIcon: false,
- href: '/new/reference/javascript/start',
- level: 'reference_javascript',
- },
- {
- label: 'Python Client Library',
- icon: '/img/icons/python-icon',
- hasLightIcon: false,
- href: '/new/reference/javascript/start',
+ href: '/reference/javascript/start',
level: 'reference_javascript',
},
+ // {
+ // label: 'Python Client Library',
+ // icon: '/img/icons/python-icon',
+ // hasLightIcon: false,
+ // href: '/reference/javascript/start',
+ // level: 'reference_javascript',
+ // },
{
label: 'Dart Client Library',
icon: '/img/icons/dart-icon',
hasLightIcon: false,
- href: '/new/reference/dart/start',
+ href: '/reference/dart/start',
level: 'reference_dart',
},
{
@@ -179,20 +174,20 @@ const SideNav = () => {
label: 'Mangement API',
icon: '/img/icons/api-icon',
hasLightIcon: false,
- href: '/new/reference/javascript/start',
+ href: '/reference/javascript/start',
level: 'reference_javascript',
},
{
label: 'CLI',
icon: '/img/icons/cli-icon',
hasLightIcon: false,
- href: '/new/reference/cli/start',
+ href: '/reference/cli/start',
level: 'reference_javascript',
},
{
label: 'Self hosting server',
icon: '/img/icons/menu/platform',
- href: '/new/reference/javascript/start',
+ href: '/reference/javascript/start',
level: 'reference_javascript',
},
],
@@ -279,90 +274,6 @@ const SideNav = () => {
-
- {/* // ref menu */}
- {/*
-
- {ref.map((link) => {
- return (
- - {
- setLevel(link.level)
- router.push(tempBasePath + link.href)
- }}
- className={[
- 'flex items-center gap-3',
- 'text-base transition-all duration-200 text-scale-1200 hover:text-brand-900 hover:cursor-pointer ',
- ].join(' ')}
- >
-
- {link.label}
-
- )
- })}
-
-
*/}
-
- {/* // JS menu */}
- {/*
-
- {ref_js.map((link) => {
- return (
- - {
- setLevel(link.level)
- router.push(tempBasePath + link.href)
- }}
- className={[
- 'flex items-center gap-3',
- 'text-base transition-all duration-200 text-scale-1200 hover:text-brand-900 hover:cursor-pointer ',
- ].join(' ')}
- >
-
- {link.label}
-
- )
- })}
-
-
*/}
-
- {/* // Dart menu */}
- {/*
-
- {ref_js.map((link) => {
- return (
- - {
- setLevel(link.level)
- router.push(tempBasePath + link.href)
- }}
- className={[
- 'flex items-center gap-3',
- 'text-base transition-all duration-200 text-scale-1200 hover:text-brand-900 hover:cursor-pointer ',
- ].join(' ')}
- >
-
- {link.label}
-
- )
- })}
-
-
*/}
)
}
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx
index 87a18b11847..9f370952ab1 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx
@@ -43,7 +43,7 @@ const NavigationMenuRefList = ({ currentLevel, setLevel, id }) => {
}) => {
return (
-
+
{icon &&
}
{title}
diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
index 94fd02a817c..0f790090caf 100644
--- a/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
@@ -92,7 +92,7 @@ const TopNavBarRef: FC = () => {
DOCS
- {/* {router.asPath.includes('/new/reference/') && } */}
+ {/* {router.asPath.includes('/reference/') && } */}
diff --git a/apps/docs/components/Options.tsx b/apps/docs/components/Options.tsx
index 269bca93077..34f29821b07 100644
--- a/apps/docs/components/Options.tsx
+++ b/apps/docs/components/Options.tsx
@@ -1,6 +1,6 @@
import { FC, useState } from 'react'
import { IconXCircle } from '~/../../packages/ui'
-import { AcceptedValue } from '~/pages/new/reference/cli/[...slug]'
+import { AcceptedValue } from '~/pages/reference/cli/[...slug]'
interface IOptions {
name?: string
diff --git a/apps/docs/components/Params.tsx b/apps/docs/components/Params.tsx
index 7475d4ab2de..32118482069 100644
--- a/apps/docs/components/Params.tsx
+++ b/apps/docs/components/Params.tsx
@@ -1,5 +1,5 @@
import { FC } from 'react'
-import { Flag } from '~/pages/new/reference/cli/[...slug]'
+import { Flag } from '~/pages/reference/cli/[...slug]'
type IParamProps = Flag | any
diff --git a/apps/docs/layouts/SiteRefLayout.tsx b/apps/docs/layouts/SiteRefLayout.tsx
index a94746dff1b..dc4ae3a8c69 100644
--- a/apps/docs/layouts/SiteRefLayout.tsx
+++ b/apps/docs/layouts/SiteRefLayout.tsx
@@ -73,7 +73,7 @@ const SiteRefLayout = ({ children }) => {
DOCS
- {/* {router.asPath.includes('/new/reference/') && } */}
+ {/* {router.asPath.includes('/reference/') && } */}
diff --git a/apps/docs/pages/_middleware.ts b/apps/docs/pages/_middleware.ts
index c7bb67a3023..d874df1b7eb 100644
--- a/apps/docs/pages/_middleware.ts
+++ b/apps/docs/pages/_middleware.ts
@@ -4,8 +4,6 @@ import type { NextRequest } from 'next/server'
// This function can be marked `async` if using `await` inside
export function middleware(request: NextRequest) {
const headers = new Headers(request.headers)
- console.log('middleware?')
- console.log({ headers })
//return NextResponse.redirect(new URL('/about-2', request.url))
}
diff --git a/apps/docs/pages/guides/integrations.mdx b/apps/docs/pages/guides/integrations.mdx
index 9a47a5bcdcf..465770b0ac5 100644
--- a/apps/docs/pages/guides/integrations.mdx
+++ b/apps/docs/pages/guides/integrations.mdx
@@ -19,7 +19,7 @@ export const meta = {
{item.name}
{item.items.map((integration) => (
-
+
{
return (
diff --git a/apps/docs/pages/new/auth.mdx b/apps/docs/pages/new/auth.mdx
index 9a8ce71bb04..fddd0644efd 100644
--- a/apps/docs/pages/new/auth.mdx
+++ b/apps/docs/pages/new/auth.mdx
@@ -17,7 +17,7 @@ export const meta = {
{topArticles.map((item) => {
return (
diff --git a/apps/docs/pages/new/reference/api/[...slug].tsx b/apps/docs/pages/reference/api/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/api/[...slug].tsx
rename to apps/docs/pages/reference/api/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/auth/[...slug].tsx b/apps/docs/pages/reference/auth/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/auth/[...slug].tsx
rename to apps/docs/pages/reference/auth/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/auth/config.tsx b/apps/docs/pages/reference/auth/config.tsx
similarity index 100%
rename from apps/docs/pages/new/reference/auth/config.tsx
rename to apps/docs/pages/reference/auth/config.tsx
diff --git a/apps/docs/pages/new/reference/cli/[...slug].tsx b/apps/docs/pages/reference/cli/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/cli/[...slug].tsx
rename to apps/docs/pages/reference/cli/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/cli/config.tsx b/apps/docs/pages/reference/cli/config.tsx
similarity index 100%
rename from apps/docs/pages/new/reference/cli/config.tsx
rename to apps/docs/pages/reference/cli/config.tsx
diff --git a/apps/docs/pages/new/reference/dart/[...slug].tsx b/apps/docs/pages/reference/dart/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/dart/[...slug].tsx
rename to apps/docs/pages/reference/dart/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/index.mdx b/apps/docs/pages/reference/index.mdx
similarity index 100%
rename from apps/docs/pages/new/reference/index.mdx
rename to apps/docs/pages/reference/index.mdx
diff --git a/apps/docs/pages/new/reference/javascript/[...slug].tsx b/apps/docs/pages/reference/javascript/[...slug].tsx
similarity index 99%
rename from apps/docs/pages/new/reference/javascript/[...slug].tsx
rename to apps/docs/pages/reference/javascript/[...slug].tsx
index 5f1a06e90a6..efa0a5bc30d 100644
--- a/apps/docs/pages/new/reference/javascript/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/[...slug].tsx
@@ -31,7 +31,7 @@ export default function JSReference(props) {
const router = useRouter()
const slug = router.query.slug[0]
- // When user lands on a url like http://supabase.com/docs/new/reference/javascript/sign-up
+ // When user lands on a url like http://supabase.com/docs/reference/javascript/sign-up
// find the #sign-up element and scroll to that
useEffect(() => {
if (document && slug !== 'start') {
diff --git a/apps/docs/pages/new/reference/javascript/v1/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/javascript/v1/[...slug].tsx
rename to apps/docs/pages/reference/javascript/v1/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/realtime/config.tsx b/apps/docs/pages/reference/realtime/config.tsx
similarity index 100%
rename from apps/docs/pages/new/reference/realtime/config.tsx
rename to apps/docs/pages/reference/realtime/config.tsx
diff --git a/apps/docs/pages/new/reference/storage/[...slug].tsx b/apps/docs/pages/reference/storage/[...slug].tsx
similarity index 100%
rename from apps/docs/pages/new/reference/storage/[...slug].tsx
rename to apps/docs/pages/reference/storage/[...slug].tsx
diff --git a/apps/docs/pages/new/reference/storage/config.tsx b/apps/docs/pages/reference/storage/config.tsx
similarity index 100%
rename from apps/docs/pages/new/reference/storage/config.tsx
rename to apps/docs/pages/reference/storage/config.tsx
diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml
index add363bbb72..93d720193bd 100644
--- a/apps/docs/public/sitemap.xml
+++ b/apps/docs/public/sitemap.xml
@@ -96,6 +96,36 @@
0.5
+
+ https://supabase.com/docs/new/1
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/auth
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/danny
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/database
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/index
+ weekly
+ 0.5
+
+
https://supabase.com/docs/guides/api
weekly
@@ -247,31 +277,7 @@
- https://supabase.com/docs/new/1
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/new/auth
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/new/danny
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/new/database
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/new/index
+ https://supabase.com/docs/reference/index
weekly
0.5
@@ -282,6 +288,48 @@
0.5
+
+ https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/learn/auth-deep-dive/auth-gotrue
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/learn/auth-deep-dive/auth-policies
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/tutorials/nextjs
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/new/auth/auth-login
+ weekly
+ 0.5
+
+
https://supabase.com/docs/guides/api/generating-types
weekly
@@ -583,79 +631,19 @@
- https://supabase.com/docs/guides/migrations/firebase-auth
+ https://supabase.com/docs/guides/hosting/docker
weekly
0.5
- https://supabase.com/docs/guides/migrations/firebase-storage
+ https://supabase.com/docs/guides/hosting/overview
weekly
0.5
- https://supabase.com/docs/guides/migrations/firestore-data
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/migrations/heroku
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/compute-add-ons
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/custom-domains
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/database-usage
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/going-into-prod
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/logs
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/metrics
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/performance
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/platform/permissions
+ https://supabase.com/docs/guides/hosting/platform
weekly
0.5
@@ -799,73 +787,79 @@
- https://supabase.com/docs/guides/hosting/docker
+ https://supabase.com/docs/guides/migrations/firebase-auth
weekly
0.5
- https://supabase.com/docs/guides/hosting/overview
+ https://supabase.com/docs/guides/migrations/firebase-storage
weekly
0.5
- https://supabase.com/docs/guides/hosting/platform
+ https://supabase.com/docs/guides/migrations/firestore-data
weekly
0.5
- https://supabase.com/docs/guides/realtime/postgres-cdc
+ https://supabase.com/docs/guides/migrations/heroku
weekly
0.5
- https://supabase.com/docs/guides/realtime/quickstart
+ https://supabase.com/docs/guides/platform/compute-add-ons
weekly
0.5
- https://supabase.com/docs/guides/realtime/rate-limits
+ https://supabase.com/docs/guides/platform/custom-domains
weekly
0.5
- https://supabase.com/docs/guides/storage/storage-sample
+ https://supabase.com/docs/guides/platform/database-usage
weekly
0.5
- https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts
+ https://supabase.com/docs/guides/platform/going-into-prod
weekly
0.5
- https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth
+ https://supabase.com/docs/guides/platform/logs
weekly
0.5
- https://supabase.com/docs/learn/auth-deep-dive/auth-gotrue
+ https://supabase.com/docs/guides/platform/metrics
weekly
0.5
- https://supabase.com/docs/learn/auth-deep-dive/auth-policies
+ https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects
weekly
0.5
- https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security
+ https://supabase.com/docs/guides/platform/performance
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/platform/permissions
weekly
0.5
@@ -955,19 +949,55 @@
- https://supabase.com/docs/new/auth/auth-login
+ https://supabase.com/docs/guides/storage/storage-sample
weekly
0.5
- https://supabase.com/docs/new/reference/index
+ https://supabase.com/docs/guides/realtime/postgres-cdc
weekly
0.5
- https://supabase.com/docs/new/tutorials/nextjs
+ https://supabase.com/docs/guides/realtime/quickstart
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/realtime/rate-limits
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/auth/auth-helpers/nextjs-server-components
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/auth/auth-helpers/nextjs
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/auth/auth-helpers/remix
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/auth/auth-helpers/sveltekit
weekly
0.5
@@ -1008,36 +1038,6 @@
0.5
-
- https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/auth/auth-helpers/nextjs-server-components
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/auth/auth-helpers/nextjs
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/auth/auth-helpers/remix
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/auth/auth-helpers/sveltekit
- weekly
- 0.5
-
-
https://supabase.com/docs/guides/functions/examples/index
weekly