SelfHostingReferencePage() — supabase Function Reference
Architecture documentation for the SelfHostingReferencePage() function in Reference.selfHostingPage.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/features/docs/Reference.selfHostingPage.tsx lines 17–79
export async function SelfHostingReferencePage({
service,
servicePath,
}: {
service: string
servicePath: string
}) {
const menuId =
service === 'analytics'
? MenuId.SelfHostingAnalytics
: service === 'auth'
? MenuId.SelfHostingAuth
: service === 'functions'
? MenuId.SelfHostingFunctions
: service === 'realtime'
? MenuId.SelfHostingRealtime
: service === 'storage'
? MenuId.SelfHostingStorage
: MenuId.SelfHosting
const menuData =
service === 'analytics'
? reference_self_hosting_analytics
: service === 'auth'
? reference_self_hosting_auth
: service === 'functions'
? reference_self_hosting_functions
: service === 'realtime'
? reference_self_hosting_realtime
: reference_self_hosting_storage
const name = REFERENCES[servicePath.replaceAll('-', '_')].name
return (
<ReferenceContentScrollHandler libPath={servicePath} version="latest" isLatestVersion={true}>
<SidebarSkeleton
menuId={menuId}
NavigationMenu={
<ReferenceNavigation
libraryId={servicePath}
name={name}
menuData={menuData}
libPath={servicePath}
version="latest"
isLatestVersion={true}
/>
}
>
<LayoutMainContent>
<article className="@container/article">
<ClientLibIntroduction
libPath={servicePath}
version="latest"
isLatestVersion={true}
className="max-w-[unset]"
/>
<RefSections libraryId={servicePath} version="latest" />
</article>
</LayoutMainContent>
</SidebarSkeleton>
</ReferenceContentScrollHandler>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free