Skip to content

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

Cleanup

Terry Suttonc4e22c1cdb36
diff --git a/apps/docs/components/DocSearch.tsx b/apps/docs/components/DocSearch.tsx
index fded1f47d8c..054bab9a92e 100644
--- a/apps/docs/components/DocSearch.tsx
+++ b/apps/docs/components/DocSearch.tsx
@@ -115,11 +115,13 @@ export function SearchProvider({ children }: any) {
// @ts-ignore
function Hit({ hit, children }) {
+ console.log('hit:', hit)
+ console.log('children:', children)
return (
<Link href={hit.url}>
<a
className={clsx({
- 'DocSearch-Hit--Result': hit.__is_result?.(),
+ 'DocSearch-Hit--Result relative': hit.__is_result?.(),
'DocSearch-Hit--Parent': hit.__is_parent?.(),
'DocSearch-Hit--FirstChild': hit.__is_first?.(),
'DocSearch-Hit--LastChild': hit.__is_last?.(),
diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml
index 8f32971da43..de2fe91f730 100644
--- a/apps/docs/public/sitemap.xml
+++ b/apps/docs/public/sitemap.xml
@@ -127,7 +127,7 @@
</url>
<url>
- <loc>https://supabase.com/docs/new/auth</loc>
+ <loc>https://supabase.com/docs/reference/index</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -139,7 +139,7 @@
</url>
<url>
- <loc>https://supabase.com/docs/reference/index</loc>
+ <loc>https://supabase.com/docs/new/auth</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -151,91 +151,91 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/auth-captcha</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/auth/auth-email</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/auth/auth-helpers</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/auth/auth-magic-link</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/auth/auth-mfa</loc>
+ <loc>https://supabase.com/docs/guides/auth/auth-captcha</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/managing-user-data</loc>
+ <loc>https://supabase.com/docs/guides/auth/auth-email</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/overview</loc>
+ <loc>https://supabase.com/docs/guides/auth/auth-helpers</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/phone-login</loc>
+ <loc>https://supabase.com/docs/guides/auth/auth-magic-link</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/row-level-security</loc>
+ <loc>https://supabase.com/docs/guides/auth/auth-mfa</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/server-side-rendering</loc>
+ <loc>https://supabase.com/docs/guides/auth/managing-user-data</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/auth/social-login</loc>
+ <loc>https://supabase.com/docs/guides/auth/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/auth/phone-login</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/auth/row-level-security</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/auth/server-side-rendering</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/auth/social-login</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -481,169 +481,175 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/access-control</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/platform/compute-add-ons</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/platform/custom-domains</loc>
+ <loc>https://supabase.com/docs/guides/storage/image-transformations</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/database-usage</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/platform/going-into-prod</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/guides/platform/logs</loc>
+ <loc>https://supabase.com/docs/guides/realtime/postgres-changes</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/metrics</loc>
+ <loc>https://supabase.com/docs/guides/realtime/quickstart</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects</loc>
+ <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/network-restrictions</loc>
+ <loc>https://supabase.com/docs/guides/platform/access-control</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/performance</loc>
+ <loc>https://supabase.com/docs/guides/platform/compute-add-ons</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/permissions</loc>
+ <loc>https://supabase.com/docs/guides/platform/custom-domains</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/sso</loc>
+ <loc>https://supabase.com/docs/guides/platform/database-usage</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/realtime/postgres-changes</loc>
+ <loc>https://supabase.com/docs/guides/platform/going-into-prod</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/realtime/quickstart</loc>
+ <loc>https://supabase.com/docs/guides/platform/logs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc>
+ <loc>https://supabase.com/docs/guides/platform/metrics</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/platform/migrating-and-upgrading-projects</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/platform/network-restrictions</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/platform/performance</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/access-control</loc>
+ <loc>https://supabase.com/docs/guides/platform/permissions</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/platform/sso</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/image-transformations</loc>
+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/storage/quickstart</loc>
+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth</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/learn/auth-deep-dive/auth-gotrue</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts</loc>
+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-policies</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth</loc>
+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-gotrue</loc>
+ <loc>https://supabase.com/docs/guides/resources/glossary</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-policies</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/learn/auth-deep-dive/auth-row-level-security</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/functions/examples/og-image</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
@@ -702,12 +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/database/extensions/http</loc>
<changefreq>weekly</changefreq>
@@ -865,103 +865,103 @@
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-angular</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/getting-started/tutorials/with-expo</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/getting-started/tutorials/with-flutter</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/getting-started/tutorials/with-ionic-angular</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-angular</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-ionic-react</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-expo</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-ionic-vue</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-flutter</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-nextjs</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-ionic-angular</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-nuxt-3</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-ionic-react</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-react</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-ionic-vue</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-redwoodjs</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-nextjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-solidjs</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-nuxt-3</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-svelte</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-react</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-sveltekit</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-redwoodjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-vue-3</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-solidjs</loc>
<changefreq>weekly</changefreq>
<changefreq>0.5</changefreq>
</url>
<url>
- <loc>https://supabase.com/docs/guides/platform/sso/azure</loc>
+ <loc>https://supabase.com/docs/guides/getting-started/tutorials/with-svelte</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/tutorials/with-sveltekit</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/tutorials/with-vue-3</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 b07efc07bf7..3ba6d1c8f9e 100644
--- a/apps/docs/scripts/build-search.js
+++ b/apps/docs/scripts/build-search.js
@@ -79,7 +79,6 @@ clientLibFiles.map((file) => {
})
})
-clientLibSearchObjects.map((item) => console.log(item))
// The properties of the searchObject that are specifically read
// by DocSearch are "type" and "hierarchy". The rest, though saved into Algolia (which we
// can potentially use to craft more nuanced search experiences) are not used by DocSearch
@@ -197,8 +196,6 @@ async function walk(dir) {
.filter((object) => !object.url.endsWith('/index'))
.filter((object) => !object.url.endsWith('/.gitkeep'))
- //console.log('guidePagesearchObjects:', guidePagesearchObjects)
-
const combinedSearchObjects = guidePagesearchObjects.concat(clientLibSearchObjects)
await index.clearObjects()
diff --git a/apps/docs/styles/algolia-search.scss b/apps/docs/styles/algolia-search.scss
index a789f88a5bb..d62850a41ca 100644
--- a/apps/docs/styles/algolia-search.scss
+++ b/apps/docs/styles/algolia-search.scss
@@ -81,8 +81,7 @@
--aa-overlay-color-alpha: 0.4;
// Shadows
- --aa-panel-shadow: 0 0 0 1px rgba(35, 38, 59, 0.1),
- 0 6px 16px -4px rgba(35, 38, 59, 0.15);
+ --aa-panel-shadow: 0 0 0 1px rgba(35, 38, 59, 0.1), 0 6px 16px -4px rgba(35, 38, 59, 0.15);
// Scrollbar
--aa-scrollbar-width: 13px;
@@ -122,8 +121,7 @@ body {
--aa-icon-color-rgb: 119, 119, 163;
// Shadows
- --aa-panel-shadow: inset 1px 1px 0 0 rgb(44, 46, 64),
- 0 3px 8px 0 rgb(0, 3, 9);
+ --aa-panel-shadow: inset 1px 1px 0 0 rgb(44, 46, 64), 0 3px 8px 0 rgb(0, 3, 9);
// Scrollbar
--aa-scrollbar-track-background-color-rgb: 44, 46, 64;
@@ -429,10 +427,7 @@ body {
}
// Title typography
@at-root .aa-SourceHeaderTitle {
- background: rgba(
- var(--aa-background-color-rgb),
- var(--aa-background-color-alpha)
- );
+ background: rgba(var(--aa-background-color-rgb), var(--aa-background-color-alpha));
color: rgba(var(--aa-primary-color-rgb), 1);
display: inline-block;
font-size: 0.8em;
@@ -464,8 +459,7 @@ body {
rgba(var(--aa-background-color-rgb), var(--aa-background-color-alpha)),
rgba(128, 126, 163, 0.14)
);
- border: 1px solid
- rgba(var(--aa-muted-color-rgb), var(--aa-muted-color-alpha));
+ border: 1px solid rgba(var(--aa-muted-color-rgb), var(--aa-muted-color-alpha));
border-radius: 5px;
box-shadow: inset 0 0 2px #fff, 0 2px 2px -1px rgba(76, 69, 88, 0.15);
color: inherit;
@@ -502,10 +496,7 @@ body {
// The result type icon inlined SVG or image
@at-root .aa-ItemIcon {
align-items: center;
- background: rgba(
- var(--aa-background-color-rgb),
- var(--aa-background-color-alpha)
- );
+ background: rgba(var(--aa-background-color-rgb), var(--aa-background-color-alpha));
border-radius: 3px;
box-shadow: inset 0 0 0 1px
rgba(var(--aa-panel-border-color-rgb), var(--aa-panel-border-color-alpha));
@@ -658,10 +649,7 @@ body {
opacity: 0.4;
}
@at-root .aa-ItemContentTag {
- background-color: rgba(
- var(--aa-primary-color-rgb),
- var(--aa-primary-color-alpha)
- );
+ background-color: rgba(var(--aa-primary-color-rgb), var(--aa-primary-color-alpha));
border-radius: 3px;
margin: 0 0.4em 0 0;
padding: 0.08em 0.3em;
@@ -754,10 +742,7 @@ body {
// 8. Panel Footer
//----------------
.aa-PanelFooter {
- background-color: rgba(
- var(--aa-background-color-rgb),
- var(--aa-background-color-alpha)
- );
+ background-color: rgba(var(--aa-background-color-rgb), var(--aa-background-color-alpha));
box-shadow: inset 0 1px 0
rgba(var(--aa-panel-border-color-rgb), var(--aa-panel-border-color-alpha));
display: flex;
@@ -847,10 +832,7 @@ body {
&:hover,
&:focus {
box-shadow: inset 0 0 0 1px
- rgba(
- var(--aa-panel-border-color-rgb),
- var(--aa-panel-border-color-alpha)
- );
+ rgba(var(--aa-panel-border-color-rgb), var(--aa-panel-border-color-alpha));
}
}
}
@@ -969,7 +951,10 @@ body {
}
// search bar
+.DocSearch-Input {
+ background-color: var(--colors-scale1);
+}
.dark .DocSearch-Input {
background-color: var(--colors-scale2);
color: white;
-}
\ No newline at end of file
+}