The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): omit category sections from reference sitemap (#51069)
Pamela Chia232eb921ed8e
diff --git a/apps/docs/internals/files/reference-lib.ts b/apps/docs/internals/files/reference-lib.tsindex f1dbafbf5cc..d026df7d70d 100644--- a/apps/docs/internals/files/reference-lib.ts+++ b/apps/docs/internals/files/reference-lib.ts@@ -29,12 +29,14 @@ export async function generateReferencePages() {.map(async ({ sdkId, version, libPath, isLatestVersion }) => {const flattenedSections = await getFlattenedSections(sdkId, version)return (- flattenedSections?.map((section) => ({- link: isLatestVersion- ? `reference/${libPath}/${section.slug}`- : `reference/${libPath}/${version}/${section.slug}`,- priority: 0.8,- })) ?? []+ flattenedSections+ ?.filter((section) => section.type !== 'category' && !!section.slug)+ .map((section) => ({+ link: isLatestVersion+ ? `reference/${libPath}/${section.slug}`+ : `reference/${libPath}/${version}/${section.slug}`,+ priority: 0.8,+ })) ?? [])}))