The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(troubleshooting sync) (#40096)
Charis65b8ef91ac77
diff --git a/apps/docs/content/troubleshooting/edge-function-shutdown-reasons-explained.mdx b/apps/docs/content/troubleshooting/edge-function-shutdown-reasons-explained.mdxindex 67816d99b72..9b7a4a16cf6 100644--- a/apps/docs/content/troubleshooting/edge-function-shutdown-reasons-explained.mdx+++ b/apps/docs/content/troubleshooting/edge-function-shutdown-reasons-explained.mdx@@ -2,7 +2,6 @@title = "Edge Function shutdown reasons explained"topics = [ "functions" ]keywords = [ "shutdown", "termination", "event loop", "wall clock", "cpu time", "memory", "early drop" ]-database_id = ""[[errors]]http_status_code = 546diff --git a/apps/docs/features/docs/Troubleshooting.script.mjs b/apps/docs/features/docs/Troubleshooting.script.mjsindex e3cd431c508..ff6e9eda6c7 100644--- a/apps/docs/features/docs/Troubleshooting.script.mjs+++ b/apps/docs/features/docs/Troubleshooting.script.mjs@@ -258,37 +258,37 @@ async function updateChecksumIfNeeded(entry) {/*** Converts relative links to absolute URLs for GitHub discussions using MDAST- * @param {string} content - The markdown content to process+ * @param {string} content - The markdown content to process (already stripped of JSX)*/function rewriteRelativeLinks(content) {const baseUrl = 'https://supabase.com'-+// Parse the markdown to ASTconst mdast = fromMarkdown(content, {- extensions: [gfm(), mdxjs()],- mdastExtensions: [gfmFromMarkdown(), mdxFromMarkdown()],+ extensions: [gfm()],+ mdastExtensions: [gfmFromMarkdown()],})-+// Walk the tree and modify link nodes- /**- * @param {import('mdast').Root|import('mdast').Content} node- */+ /**+ * @param {import('mdast').Root|import('mdast').Content} node+ */function visitNode(node) {if (node.type === 'link' && node.url && node.url.startsWith('/')) {// Convert relative URL to absolutenode.url = `${baseUrl}${node.url}`}-+// Recursively visit childrenif ('children' in node) {node.children.forEach(visitNode)}}-+visitNode(mdast)-+// Convert back to markdown- return toMarkdown(mdast, { extensions: [gfmToMarkdown(), mdxToMarkdown()] })+ return toMarkdown(mdast, { extensions: [gfmToMarkdown()] })}/**