mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Docs restructure of the self-hosting overview: short fit intro, Get started / community listings above the fold, parallel h2 sections for how self-hosting differs (including local development), responsibilities, and telemetry, plus a streamlined support listing with better card content. Closes DOCS-1251. ## What is the current behavior? - Linear item: Explore two PR approaches for the self-hosting page - The self-hosting overview page (`/guides/self-hosting`) is the top search hit for "supabase self-hosting," but reads as a wall of text: three full prose/bullet sections (differs / responsibilities / telemetry) come before the getting-started CTA, which is buried as one small card partway down the page. ## What is the new behavior? - Short fit intro; `self-hosting-get-started` and `self-hosting-community` listings sit directly under the intro. - Top-level h2s for how self-hosting differs, responsibilities, telemetry, and support (no "More about self-hosting" wrapper). - Under differs: rewritten single-project + platform-gap copy, plus `### Not the same as local development` (CLI stack is not a production self-host; points to Docker / community options). - Telemetry clarifies CLI local-dev telemetry vs Docker Compose (no phone-home). - Merged support into a single `self-hosting-support` listing; Enterprise subsection unchanged. - Minor a11y: `aria-hidden` on GlassPanel decorative icon background. ## Additional context - Worktree: `~/GitHub/supabase/supabase-worktrees/nikrichers/docs-1251-self-hosting-inform` - Review: removed the "More about self-hosting" grouping after feedback that it undersold differs / responsibilities. - Companion prototype PR 48416 is closed; this branch is the direction under review. - Verification: | Check | Result | | ----------------------------------------------- | ------------------------------------------------------------------ | | `pnpm lint:mdx content/guides/self-hosting.mdx` | Pass — no errors/warnings on this file | | Vercel docs preview | Pass — full-page after screenshot captured from the preview deploy | ### Proof: intro and get-started above the fold; parallel h2s for differs, responsibilities, and telemetry **Verified:** `pnpm lint:mdx content/guides/self-hosting.mdx` (pass) · Vercel docs preview (pass) ### Before & After | [Before (production)](https://supabase.com/docs/guides/self-hosting) | [After (PR preview)](https://docs-git-nikrichers-docs-1251-self-hosting-inform-supabase.vercel.app/docs/guides/self-hosting) | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | |  |  | ### Test plan - [ ] Visit the preview link and confirm the page opens with intro above the Get started listings - [ ] Confirm parallel h2s for differs / responsibilities / telemetry / support (no "More about self-hosting") - [ ] Confirm "Not the same as local development" distinguishes the CLI stack from self-hosting - [ ] Confirm Support and community is one card grid - [ ] Check mobile width — layout should still be usable - [ ] Confirm `/guides/self-hosting/docker` link still works <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Reorganized the self-hosting guide with clearer getting-started resources and community links. - Added dedicated guidance for local development, managed Supabase, telemetry, and self-hosting responsibilities. - Consolidated support resources into one section covering discussions, issues, chat, Reddit, and sharing experiences. - **Accessibility** - Marked decorative icon backgrounds as hidden from assistive technologies. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: Claude <noreply@anthropic.com>
71 lines
2.2 KiB
TypeScript
71 lines
2.2 KiB
TypeScript
import type { ContentListingGroup } from '~/lib/content-listings.schema'
|
|
|
|
import { aiToolsBuildingIntoApp, aiToolsSupportedAgents } from './ai-tools.data'
|
|
import { authGetStarted, authNextSteps, authPricing } from './auth.data'
|
|
import { databaseGetStarted, databaseNextSteps } from './database.data'
|
|
import {
|
|
functionsExamplesAiMedia,
|
|
functionsExamplesMessaging,
|
|
functionsExamplesOperations,
|
|
functionsExamplesSupabase,
|
|
functionsExamplesWebhooksPayments,
|
|
functionsGetStarted,
|
|
} from './functions.data'
|
|
import {
|
|
gettingStartedFrameworkQuickstarts,
|
|
gettingStartedMobileTutorials,
|
|
gettingStartedOverview,
|
|
gettingStartedUseCases,
|
|
gettingStartedWebAppDemos,
|
|
} from './getting-started.data'
|
|
import { logDrainsDestinations } from './log-drains.data'
|
|
import { realtimeExamples, realtimeGetStarted, realtimeResources } from './realtime.data'
|
|
import { resourcesMigrate, resourcesOverview, resourcesPostgres } from './resources.data'
|
|
import {
|
|
selfHostingCommunity,
|
|
selfHostingGetStarted,
|
|
selfHostingSupport,
|
|
} from './self-hosting.data'
|
|
import { storageExamples, storageGetStarted, storageResources } from './storage.data'
|
|
import { telemetryDebugging, telemetryMonitoring } from './telemetry.data'
|
|
|
|
const ALL_GROUPS: readonly ContentListingGroup[] = [
|
|
aiToolsSupportedAgents,
|
|
aiToolsBuildingIntoApp,
|
|
authGetStarted,
|
|
authPricing,
|
|
authNextSteps,
|
|
databaseGetStarted,
|
|
databaseNextSteps,
|
|
functionsGetStarted,
|
|
functionsExamplesSupabase,
|
|
functionsExamplesWebhooksPayments,
|
|
functionsExamplesAiMedia,
|
|
functionsExamplesMessaging,
|
|
functionsExamplesOperations,
|
|
gettingStartedOverview,
|
|
gettingStartedUseCases,
|
|
gettingStartedFrameworkQuickstarts,
|
|
gettingStartedWebAppDemos,
|
|
gettingStartedMobileTutorials,
|
|
logDrainsDestinations,
|
|
realtimeGetStarted,
|
|
realtimeExamples,
|
|
realtimeResources,
|
|
resourcesOverview,
|
|
resourcesMigrate,
|
|
resourcesPostgres,
|
|
selfHostingGetStarted,
|
|
selfHostingCommunity,
|
|
selfHostingSupport,
|
|
storageGetStarted,
|
|
storageExamples,
|
|
storageResources,
|
|
telemetryDebugging,
|
|
telemetryMonitoring,
|
|
]
|
|
|
|
export const CONTENT_LISTINGS: Readonly<Record<string, ContentListingGroup>> = Object.fromEntries(
|
|
ALL_GROUPS.map((group) => [group.id, group])
|
|
)
|