Skip to content

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

Cleanup

Terry Sutton69d41c45b654
diff --git a/apps/docs/internals/files/reference-lib.mjs b/apps/docs/internals/files/reference-lib.mjs
index 61ba1a98eb9..ee95d4ee625 100644
--- a/apps/docs/internals/files/reference-lib.mjs
+++ b/apps/docs/internals/files/reference-lib.mjs
@@ -2,22 +2,7 @@ import fs from 'fs'
import yaml from 'js-yaml'
import commonLibSections from '../../../../spec/common-client-libs-sections.json' assert { type: 'json' }
-
-function flattenSections(sections) {
- var a = []
- for (var i = 0; i < sections.length; i++) {
- if (sections[i].id) {
- // only push a section that has an id
- // these are reserved for sidebar subtitles
- a.push(sections[i])
- }
- if (sections[i].items) {
- // if there are subitems, loop through
- a = a.concat(flattenSections(sections[i].items))
- }
- }
- return a
-}
+import { flattenSections } from '../helpers.mjs'
const flatCommonLibSections = flattenSections(commonLibSections)
diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml
index ad6ca856cc8..cc4da8a046e 100644
--- a/apps/docs/public/sitemap.xml
+++ b/apps/docs/public/sitemap.xml
@@ -91,31 +91,31 @@
</url>
<url>
- <loc>https://supabase.com/docs/handbook/contributing</loc>
+ <loc>https://supabase.com/docs/new/auth</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/handbook/introduction</loc>
+ <loc>https://supabase.com/docs/handbook/contributing</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/reference/index</loc>
+ <loc>https://supabase.com/docs/handbook/introduction</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/tutorials/nextjs</loc>
+ <loc>https://supabase.com/docs/reference/index</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/new/auth</loc>
+ <loc>https://supabase.com/docs/tutorials/nextjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -624,12 +624,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/database/extensions/http</loc>
<changefreq>weekly</changefreq>
@@ -714,30 +708,6 @@
<changefreq>0.5</changefreq>
</url>
- <url>
- <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/getting-started/quickstarts/nextjs</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/guides/getting-started/quickstarts/nuxtjs</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
- <url>
- <loc>https://supabase.com/docs/guides/getting-started/quickstarts/reactjs</loc>
- <changefreq>weekly</changefreq>
- <changefreq>0.5</changefreq>
- </url>
-
<url>
<loc>https://supabase.com/docs/guides/auth/social-login/auth-apple</loc>
<changefreq>weekly</changefreq>
@@ -841,19 +811,25 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/sso/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/platform/sso/gsuite</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/quickstarts/nextjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/sso/okta</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/quickstarts/nuxtjs</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/guides/getting-started/quickstarts/reactjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -943,31 +919,49 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firebase-auth</loc>
+ <loc>https://supabase.com/docs/guides/platform/sso/azure</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/platform/sso/gsuite</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firestore-data</loc>
+ <loc>https://supabase.com/docs/guides/platform/sso/okta</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/self-hosting/docker</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/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/firebase-storage</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/firestore-data</loc>
+ <changefreq>weekly</changefreq>
+ <changefreq>0.5</changefreq>
+ </url>
+
+ <url>
+ <loc>https://supabase.com/docs/guides/resources/migrating-to-supabase/heroku</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>