feat: new docs ia (#29364)

New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
This commit is contained in:
Charis
2024-10-09 12:38:34 -04:00
committed by GitHub
parent 7f0a3de733
commit 41d924b074
75 changed files with 1827 additions and 842 deletions

View File

@@ -109,16 +109,22 @@ export const getMenuId = (pathname: string | null) => {
return MenuId.Api
case pathname.startsWith('auth'):
return MenuId.Auth
case pathname.startsWith('cli'):
return MenuId.Cli
case pathname.startsWith('local-development'):
return MenuId.LocalDevelopment
case pathname.startsWith('database'):
return MenuId.Database
case pathname.startsWith('deployment'):
return MenuId.Deployment
case pathname.startsWith('functions'):
return MenuId.Functions
case pathname.startsWith('getting-started'):
return MenuId.GettingStarted
case pathname.startsWith('graphql'):
return MenuId.Graphql
case pathname.startsWith('integrations'):
return MenuId.Integrations
case pathname.startsWith('monitoring-troubleshooting'):
return MenuId.MonitoringTroubleshooting
case pathname.startsWith('platform'):
return MenuId.Platform
case pathname.startsWith('realtime'):