From be2af86c9c4656d2bbbc60c13201deea00ecab9f Mon Sep 17 00:00:00 2001 From: Charis <26616127+charislam@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:08:43 -0500 Subject: [PATCH] fix: github edit link for docs pages (#21095) --- apps/docs/pages/guides/auth/[[...slug]].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/auth/[[...slug]].tsx b/apps/docs/pages/guides/auth/[[...slug]].tsx index 092208bf42c..d77f8e7bc6e 100644 --- a/apps/docs/pages/guides/auth/[[...slug]].tsx +++ b/apps/docs/pages/guides/auth/[[...slug]].tsx @@ -53,7 +53,7 @@ export const getStaticProps = (async ({ params }) => { const fullPath = join(GUIDES_DIRECTORY, relPath + '.mdx') const mdx = await readFile(fullPath, 'utf-8') - const editLink = `https://github.com/supabase/supabase/blob/master/apps/docs/content/guides/${relPath}.mdx` + const editLink = `supabase/supabase/blob/master/apps/docs/content/guides/${relPath}.mdx` const { data: frontmatter, content } = matter(mdx) if (!isValidGuideFrontmatter(frontmatter)) {