From dbe4526063fbca9c4dcd63eb132ede8f40f79a92 Mon Sep 17 00:00:00 2001 From: Vaibhav <117663341+7ttp@users.noreply.github.com> Date: Wed, 27 May 2026 12:10:17 +0530 Subject: [PATCH] fix: restore edgefn docs (#46399) - closes https://github.com/supabase/supabase/issues/46397 b4: https://supabase.com/docs/guides/functions/connect-to-postgres (404) after: https://docs-git-fork-7ttp-fix-404-edgefn-supabase.vercel.app/docs/guides/functions/connect-to-postgres (200) ## Summary by CodeRabbit * **Documentation** * Fixed a broken snippet reference in the Drizzle guide and added a formatting override to ensure the code sample renders correctly (documentation-only change). [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46399?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) --- apps/docs/content/guides/functions/connect-to-postgres.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/docs/content/guides/functions/connect-to-postgres.mdx b/apps/docs/content/guides/functions/connect-to-postgres.mdx index 15589f2bf81..2c99a64fc2c 100644 --- a/apps/docs/content/guides/functions/connect-to-postgres.mdx +++ b/apps/docs/content/guides/functions/connect-to-postgres.mdx @@ -80,9 +80,10 @@ language="json" Then define your schema and query the database: +{/* prettier-ignore */} <$CodeSample -path="/edge-functions/supabase/functions/\_shared/schema.ts" -title="supabase/functions/\_shared/schema.ts" +path="/edge-functions/supabase/functions/_shared/schema.ts" +title="supabase/functions/_shared/schema.ts" language="typescript" />