@@ -147,9 +152,9 @@ export default function Config(props) {
export async function getStaticProps({ params }: { params: { slug: string[] } }) {
let slug
if (params.slug.length > 1) {
- slug = `docs/${params.slug.join('/')}`
+ slug = `docs/reference/cli/${params.slug.join('/')}`
} else {
- slug = `docs/${params.slug[0]}`
+ slug = `docs/reference/cli/${params.slug[0]}`
}
let doc = getDocsBySlug(slug)
diff --git a/apps/docs/pages/reference/dart/[...slug].tsx b/apps/docs/pages/reference/dart/[...slug].tsx
index def732d6823..02deec0259f 100644
--- a/apps/docs/pages/reference/dart/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/[...slug].tsx
@@ -42,7 +42,7 @@ export default function DartReference(props) {
useEffect(() => {
if (isNewDocs && document && slug !== 'start') {
// re-enable this when the new yaml shape file is moved into this branch
- document.querySelector(`#${slug}`).scrollIntoView()
+ document.querySelector(`#${slug}`) && document.querySelector(`#${slug}`).scrollIntoView()
}
})
@@ -282,13 +282,12 @@ export async function getStaticProps({ params }: { params: { slug: string[] } })
slug = `docs/reference/dart/${params.slug[0]}`
}
- let doc = getDocsBySlug(slug)
- const content = await serialize(doc.content || '')
-
/*
* handle old ref pages
*/
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'false') {
+ let doc = getDocsBySlug(slug)
+ const content = await serialize(doc.content || '')
return {
props: {
/*
diff --git a/apps/docs/pages/reference/dart/v0/[...slug].tsx b/apps/docs/pages/reference/dart/v0/[...slug].tsx
index b043e05bb1b..cb6fff10823 100644
--- a/apps/docs/pages/reference/dart/v0/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/v0/[...slug].tsx
@@ -282,13 +282,12 @@ export async function getStaticProps({ params }: { params: { slug: string[] } })
slug = `docs/reference/dart/${params.slug[0]}`
}
- let doc = getDocsBySlug(slug)
- const content = await serialize(doc.content || '')
-
/*
* handle old ref pages
*/
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'false') {
+ let doc = getDocsBySlug(slug)
+ const content = await serialize(doc.content || '')
return {
props: {
/*
diff --git a/apps/docs/pages/reference/javascript/[...slug].tsx b/apps/docs/pages/reference/javascript/[...slug].tsx
index 46d391d0fee..98f814863b1 100644
--- a/apps/docs/pages/reference/javascript/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/[...slug].tsx
@@ -43,7 +43,7 @@ export default function JSReference(props) {
// find the #sign-up element and scroll to that
useEffect(() => {
if (isNewDocs && document && slug !== 'start') {
- document.querySelector(`#${slug}`).scrollIntoView()
+ document.querySelector(`#${slug}`) && document.querySelector(`#${slug}`).scrollIntoView()
}
})
@@ -294,13 +294,12 @@ export async function getStaticProps({ params }: { params: { slug: string[] } })
slug = `docs/reference/javascript/${params.slug[0]}`
}
- let doc = getDocsBySlug(slug)
- const content = await serialize(doc.content || '')
-
/*
* handle old ref pages
*/
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'false') {
+ let doc = getDocsBySlug(slug)
+ const content = await serialize(doc.content || '')
return {
props: {
/*
diff --git a/apps/docs/pages/reference/javascript/v1/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/[...slug].tsx
index eb327c53ddc..e2d07c13bad 100644
--- a/apps/docs/pages/reference/javascript/v1/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/v1/[...slug].tsx
@@ -450,13 +450,12 @@ export async function getStaticProps({ params }: { params: { slug: string[] } })
slug = `docs/reference/javascript/${params.slug[0]}`
}
- let doc = getDocsBySlug(slug)
- const content = await serialize(doc.content || '')
-
/*
* handle old ref pages
*/
if (process.env.NEXT_PUBLIC_NEW_DOCS === 'false') {
+ let doc = getDocsBySlug(slug)
+ const content = await serialize(doc.content || '')
return {
props: {
/*
diff --git a/apps/docs/pages/reference/storage/[...slug].tsx b/apps/docs/pages/reference/storage/[...slug].tsx
index 6b5c13def2d..9068c3008c7 100644
--- a/apps/docs/pages/reference/storage/[...slug].tsx
+++ b/apps/docs/pages/reference/storage/[...slug].tsx
@@ -52,6 +52,7 @@ export default function Config() {
{section.operations.map((operation: any) => (
0.5
+
+ https://supabase.com/docs/guides/cli/local-development
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/cli/managing-environments
+ weekly
+ 0.5
+
+
https://supabase.com/docs/guides/database/arrays
weekly
@@ -402,18 +414,6 @@
0.5
-
- https://supabase.com/docs/guides/cli/local-development
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/cli/managing-environments
- weekly
- 0.5
-
-
https://supabase.com/docs/guides/auth/auth-apple
weekly
@@ -870,12 +870,6 @@
0.5
-
- https://supabase.com/docs/new/auth/auth-login
- weekly
- 0.5
-
-
https://supabase.com/docs/guides/tutorials/with-angular
weekly
@@ -960,6 +954,12 @@
0.5
+
+ https://supabase.com/docs/new/auth/auth-login
+ weekly
+ 0.5
+
+
https://supabase.com/docs/new/tutorials/nextjs
weekly
@@ -1002,6 +1002,18 @@
0.5
+
+ https://supabase.com/docs/guides/functions/examples/index
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/guides/functions/examples/og-image
+ weekly
+ 0.5
+
+
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
weekly
@@ -1032,18 +1044,6 @@
0.5
-
- https://supabase.com/docs/guides/functions/examples/index
- weekly
- 0.5
-
-
-
- https://supabase.com/docs/guides/functions/examples/og-image
- weekly
- 0.5
-
-
https://supabase.com/docs/reference/api
weekly
@@ -1140,12 +1140,24 @@
0.5
+
+ https://supabase.com/docs/reference/javascript/auth-admin-invoke
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/javascript/auth-admin-listusers
weekly
0.5
+
+ https://supabase.com/docs/reference/javascript/auth-admin-resetpasswordforemail
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/javascript/auth-admin-updateuserbyid
weekly
@@ -1626,6 +1638,18 @@
0.5
+
+ https://supabase.com/docs/reference/dart/auth-admin-invoke
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/reference/dart/auth-admin-resetpasswordforemail
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/dart/auth-currentsession
weekly
@@ -1638,6 +1662,18 @@
0.5
+
+ https://supabase.com/docs/reference/dart/auth-getsession
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/docs/reference/dart/auth-getuser
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/dart/auth-onauthstatechange
weekly
@@ -1746,6 +1782,12 @@
0.5
+
+ https://supabase.com/docs/reference/dart/in
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/dart/in_
weekly
@@ -1770,6 +1812,12 @@
0.5
+
+ https://supabase.com/docs/reference/dart/is
+ weekly
+ 0.5
+
+
https://supabase.com/docs/reference/dart/is_
weekly
diff --git a/apps/www/public/sitemap_www.xml b/apps/www/public/sitemap_www.xml
index 03e3998e8df..b3d18df25d6 100644
--- a/apps/www/public/sitemap_www.xml
+++ b/apps/www/public/sitemap_www.xml
@@ -54,6 +54,12 @@
0.5
+
+ https://supabase.com/blog/
+ weekly
+ 0.5
+
+
https://supabase.com/contact/enterprise
weekly
@@ -72,12 +78,6 @@
0.5
-
- https://supabase.com/edge-functions
- weekly
- 0.5
-
-
https://supabase.com/launch-week/ticket-image
weekly
@@ -103,13 +103,7 @@
- https://supabase.com/blog/
- weekly
- 0.5
-
-
-
- https://supabase.com/realtime
+ https://supabase.com/edge-functions
weekly
0.5
@@ -120,6 +114,12 @@
0.5
+
+ https://supabase.com/realtime
+ weekly
+ 0.5
+
+
https://supabase.com/blog/supabase-alpha-april-2020
weekly
diff --git a/package-lock.json b/package-lock.json
index 93857f5ac45..802f5a82a11 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -49438,7 +49438,7 @@
"globby": "^12.0.2",
"graphql": "^16.5.0",
"gray-matter": "^4.0.3",
- "isbot": "*",
+ "isbot": "^3.6.5",
"jsrsasign": "^10.5.26",
"lodash": "^4.17.21",
"markdown-toc": "^1.2.0",