From 45590e11b5fd52f1f897dae59cd48761d5c67119 Mon Sep 17 00:00:00 2001 From: Foysal Ahamed Date: Fri, 20 May 2022 22:26:48 +0200 Subject: [PATCH] fix: Swap out api reference links to point to guide home page --- apps/www/data/Footer.json | 2 +- studio/components/layouts/AccountLayout/AccountLayout.tsx | 2 +- studio/components/layouts/DocsLayout/DocsLayout.utils.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/www/data/Footer.json b/apps/www/data/Footer.json index e28dcef152c..4a1c7125f9e 100644 --- a/apps/www/data/Footer.json +++ b/apps/www/data/Footer.json @@ -70,7 +70,7 @@ }, { "text": "API Reference", - "url": "/docs/client/supabase-client" + "url": "/docs/guides/api" }, { "text": "Guides", diff --git a/studio/components/layouts/AccountLayout/AccountLayout.tsx b/studio/components/layouts/AccountLayout/AccountLayout.tsx index 7610e3ecd10..0c0e347967f 100644 --- a/studio/components/layouts/AccountLayout/AccountLayout.tsx +++ b/studio/components/layouts/AccountLayout/AccountLayout.tsx @@ -100,7 +100,7 @@ const AccountLayout = ({ children, title, breadcrumbs }: any) => { key: 'ext-guides', icon: '/img/book-open.svg', label: 'API Reference', - href: 'https://supabase.com/docs/reference/javascript/supabase-client', + href: 'https://supabase.com/docs/guides/api', external: true, }, ], diff --git a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx index 2353915cdd7..38a28bb7186 100644 --- a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx +++ b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx @@ -72,7 +72,7 @@ export const generateDocsMenu = ( { name: 'API Reference', key: 'api-reference', - url: `https://supabase.com/docs/reference/javascript/supabase-client`, + url: `https://supabase.com/docs/guides/api`, icon: , items: [], isExternal: true,