mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 14:05:05 +08:00
Merge pull request #13395 from supabase/docs/fix_api_redirects
docs: fix redirects for API
This commit is contained in:
@@ -1827,16 +1827,6 @@ module.exports = [
|
||||
source: '/legal/soc2',
|
||||
destination: 'https://forms.supabase.com/soc2',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/docs/guides/api',
|
||||
destination: '/docs/guides/database/api',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/docs/guides/api/generating-types',
|
||||
destination: '/docs/guides/database/api/generating-types',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/docs/reference/javascript/upgrade-guide',
|
||||
@@ -1903,6 +1893,11 @@ module.exports = [
|
||||
source: '/docs/guides/database/api/generating-types',
|
||||
destination: '/docs/guides/api/rest/generating-types',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/docs/guides/api/generating-types',
|
||||
destination: '/docs/guides/api/rest/generating-types',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/docs/guides/integrations/dashibase',
|
||||
|
||||
@@ -106,7 +106,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {
|
||||
key: 'ext-guides',
|
||||
icon: `${router.basePath}/img/book-open.svg`,
|
||||
label: 'API Reference',
|
||||
href: 'https://supabase.com/docs/guides/database/api',
|
||||
href: 'https://supabase.com/docs/guides/api',
|
||||
isExternal: true,
|
||||
},
|
||||
],
|
||||
|
||||
@@ -93,7 +93,7 @@ export const generateDocsMenu = (
|
||||
{
|
||||
name: 'API Reference',
|
||||
key: 'api-reference',
|
||||
url: `https://supabase.com/docs/guides/database/api`,
|
||||
url: `https://supabase.com/docs/guides/api`,
|
||||
icon: <IconBookOpen size={14} strokeWidth={2} />,
|
||||
items: [],
|
||||
isExternal: true,
|
||||
|
||||
Reference in New Issue
Block a user