The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: start moving self hosted docs
Jonathan Summers-Muir08583a66d7da
diff --git a/apps/docs/components/Navigation/NavigationMenu/HomeMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/HomeMenu.tsxindex a769976a8a4..399c1acb045 100644--- a/apps/docs/components/Navigation/NavigationMenu/HomeMenu.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/HomeMenu.tsx@@ -64,6 +64,12 @@ const home = [href: '/guides/resources',level: 'resources',},+ {+ label: 'Self Hosting',+ icon: '/img/icons/menu/platform',+ href: '/guides/self-hosting',+ level: 'self_hosting',+ },{label: 'Integrations',icon: '/img/icons/menu/integrations',diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 6a210a4cf67..76dde34d35f 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -570,13 +570,16 @@ export const resources = {},],},- {- name: 'Self-Hosting',- items: [- { name: 'Overview', url: '/guides/resources/self-hosting', items: [] },- { name: 'Docker', url: '/guides/resources/self-hosting/docker', items: [] },- ],- },+ ],+}++export const self_hosting = {+ title: 'Self-Hosting',+ icon: 'resources',+ url: '/guides/self-hosting',+ items: [+ { name: 'Overview', url: '/guides/self-hosting', items: [] },+ { name: 'Self-Hosting with Docker', url: '/guides/self-hosting/docker', items: [] },{name: 'Self-Hosting Reference',items: [@@ -603,15 +606,6 @@ export const resources = {],}-export const selfHosting = {- label: 'Self-Hosting',- url: '/guides/self-hosting',- items: [- { name: 'Overview', url: '/guides/hosting/overview', items: [] },- { name: 'Docker', url: '/guides/hosting/docker', items: [] },- ],-}-export const migrate = {label: 'Migrate to Supabase',url: '/guides/migrate',diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsxindex 5a945b965c5..b8ea7efeab4 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx@@ -104,6 +104,9 @@ const SideNav = () => {case url.includes(`/docs/guides/resources`) && url:menuState.setMenuLevelId('resources')break+ case url.includes(`/docs/guides/self-hosting`) && url:+ menuState.setMenuLevelId('self_hosting')+ breakcase url.includes(`/docs/guides/integrations`) && url:menuState.setMenuLevelId('integrations')break@@ -166,6 +169,7 @@ const SideNav = () => {<NavigationMenuGuideList id={'platform'} /><NavigationMenuGuideList id={'resources'} /><NavigationMenuGuideList id={'integrations'} />+ <NavigationMenuGuideList id={'self_hosting'} /><NavigationMenuGuideList id={'reference'} />{/* // Client Libs */}<NavigationMenuRefListdiff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideList.tsxindex 40e03fa6184..6b110bd5687 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideList.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideList.tsx@@ -73,7 +73,6 @@ const NavigationMenuGuideList: React.FC<Props> = ({ id, setMenuLevelId }) => {`/img/icons/menu/${menu.icon}${isDarkMode ? '' : '-light'}.svg`}/>- {/* </div> */}<spanclassName={[' ',diff --git a/apps/docs/layouts/SiteLayout.tsx b/apps/docs/layouts/SiteLayout.tsxindex 9feac530869..5b96537c5b8 100644--- a/apps/docs/layouts/SiteLayout.tsx+++ b/apps/docs/layouts/SiteLayout.tsx@@ -63,6 +63,10 @@ const SiteRefLayout = ({ children }) => {icon: '/docs/img/icons/menu/resources',name: 'Resources',},+ self_hosting: {+ icon: '/docs/img/icons/menu/self-hosting',+ name: 'Self Hosting',+ },integrations: {icon: '/docs/img/icons/menu/integrations',name: 'Integrations',diff --git a/apps/docs/pages/guides/resources/self-hosting.mdx b/apps/docs/pages/guides/self-hosting.mdxsimilarity index 100%rename from apps/docs/pages/guides/resources/self-hosting.mdxrename to apps/docs/pages/guides/self-hosting.mdxdiff --git a/apps/docs/pages/guides/resources/self-hosting/docker.mdx b/apps/docs/pages/guides/self-hosting/docker.mdxsimilarity index 100%rename from apps/docs/pages/guides/resources/self-hosting/docker.mdxrename to apps/docs/pages/guides/self-hosting/docker.mdx