Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

[docs]: fix unreachable pages from nav menu (#40027)

Paul Ibeabuchi C.91f8cb089a00
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 9fa8cfc9a37..e40c690b7e9 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -697,6 +697,7 @@ export const auth: NavMenuConstant = {
name: 'Sessions',
url: '/guides/auth/sessions',
items: [
+ { name: 'User sessions', url: '/guides/auth/sessions' },
{ name: 'Implicit flow', url: '/guides/auth/sessions/implicit-flow' },
{ name: 'PKCE flow', url: '/guides/auth/sessions/pkce-flow' },
],
@@ -711,6 +712,7 @@ export const auth: NavMenuConstant = {
name: 'Server-Side Rendering',
url: '/guides/auth/server-side',
items: [
+ { name: 'Overview', url: '/guides/auth/server-side' },
{ name: 'Next.js guide', url: '/guides/auth/server-side/nextjs' },
{
name: 'SvelteKit guide',
@@ -746,7 +748,7 @@ export const auth: NavMenuConstant = {
{
name: 'Social Login (OAuth)',
url: '/guides/auth/social-login',
- items: [...SocialLoginItems],
+ items: [{ name: 'Overview', url: '/guides/auth/social-login' }, ...SocialLoginItems],
enabled: allAuthProvidersEnabled,
},
@@ -755,6 +757,7 @@ export const auth: NavMenuConstant = {
url: '/guides/auth/enterprise-sso',
enabled: allAuthProvidersEnabled,
items: [
+ { name: 'Overview', url: '/guides/auth/enterprise-sso' },
{
name: 'SAML 2.0',
url: '/guides/auth/enterprise-sso/auth-sso-saml' as `/${string}`,
@@ -781,6 +784,7 @@ export const auth: NavMenuConstant = {
name: 'Multi-Factor Authentication',
url: '/guides/auth/auth-mfa',
items: [
+ { name: 'Overview', url: '/guides/auth/auth-mfa' },
{ name: 'App Authenticator (TOTP)', url: '/guides/auth/auth-mfa/totp' },
{ name: 'Phone', url: '/guides/auth/auth-mfa/phone' },
],
@@ -831,6 +835,7 @@ export const auth: NavMenuConstant = {
name: 'Auth Hooks',
url: '/guides/auth/auth-hooks',
items: [
+ { name: 'Overview', url: '/guides/auth/auth-hooks' },
{
name: 'Custom access token hook',
url: '/guides/auth/auth-hooks/custom-access-token-hook' as `/${string}`,
@@ -880,7 +885,10 @@ export const auth: NavMenuConstant = {
name: 'JSON Web Tokens (JWT)',
url: '/guides/auth/jwts',
enabled: authFullSecurityEnabled,
- items: [{ name: 'Claims Reference', url: '/guides/auth/jwt-fields' }],
+ items: [
+ { name: 'Overview', url: '/guides/auth/jwts' },
+ { name: 'Claims Reference', url: '/guides/auth/jwt-fields' },
+ ],
},
{
name: 'JWT Signing Keys',
@@ -921,6 +929,7 @@ const ormQuickstarts: NavMenuSection = {
name: 'Prisma',
url: '/guides/database/prisma',
items: [
+ { name: 'Connecting with Prisma', url: '/guides/database/prisma' as `/${string}` },
{
name: 'Prisma troubleshooting',
url: '/guides/database/prisma/prisma-troubleshooting' as `/${string}`,
@@ -2008,7 +2017,13 @@ export const ai: NavMenuConstant = {
{
name: 'Vector indexes',
url: '/guides/ai/vector-indexes',
- items: vectorIndexItems,
+ items: [
+ {
+ name: 'Overview',
+ url: '/guides/ai/vector-indexes',
+ },
+ ...vectorIndexItems,
+ ],
},
{
name: 'Automatic embeddings',
@@ -2355,6 +2370,10 @@ export const platform: NavMenuConstant = {
name: 'Migrating within Supabase',
url: '/guides/platform/migrating-within-supabase',
items: [
+ {
+ name: 'Overview',
+ url: '/guides/platform/migrating-within-supabase' as `/${string}`,
+ },
{
name: 'Restore Dashboard backup',
url: '/guides/platform/migrating-within-supabase/dashboard-restore' as `/${string}`,
@@ -2368,7 +2387,10 @@ export const platform: NavMenuConstant = {
{
name: 'Migrating to Supabase',
url: '/guides/platform/migrating-to-supabase',
- items: MIGRATION_PAGES,
+ items: [
+ { name: 'Overview', url: '/guides/platform/migrating-to-supabase' as `/${string}` },
+ ...MIGRATION_PAGES,
+ ],
},
],
},
@@ -2385,6 +2407,10 @@ export const platform: NavMenuConstant = {
url: '/guides/platform/multi-factor-authentication',
enabled: fullPlatformEnabled,
items: [
+ {
+ name: 'Overview',
+ url: '/guides/platform/multi-factor-authentication' as `/${string}`,
+ },
{
name: 'Enforce MFA on organization',
url: '/guides/platform/mfa/org-mfa-enforcement' as `/${string}`,
@@ -2405,6 +2431,7 @@ export const platform: NavMenuConstant = {
url: '/guides/platform/sso',
enabled: fullPlatformEnabled,
items: [
+ { name: 'Overview', url: '/guides/platform/sso' as `/${string}` },
{ name: 'SSO with Azure AD', url: '/guides/platform/sso/azure' },
{
name: 'SSO with Google Workspace',
@@ -2463,8 +2490,12 @@ export const platform: NavMenuConstant = {
},
{
name: 'Manage your usage',
- url: '/guides/platform/manage-your-usage' as `/${string}`,
+ url: '/guides/platform/manage-your-usage',
items: [
+ {
+ name: 'Overview',
+ url: '/guides/platform/manage-your-usage' as `/${string}`,
+ },
{
name: 'Compute',
url: '/guides/platform/manage-your-usage/compute' as `/${string}`,
@@ -2563,6 +2594,10 @@ export const platform: NavMenuConstant = {
name: 'AWS Marketplace',
url: '/guides/platform/aws-marketplace',
items: [
+ {
+ name: 'Overview',
+ url: '/guides/platform/aws-marketplace' as `/${string}`,
+ },
{
name: 'Getting Started',
url: '/guides/platform/aws-marketplace/getting-started',
@@ -2804,6 +2839,10 @@ export const integrations: NavMenuConstant = {
name: 'Build a Supabase integration',
url: '/guides/integrations/build-a-supabase-integration',
items: [
+ {
+ name: 'Overview',
+ url: '/guides/integrations/build-a-supabase-integration' as `/${string}`,
+ },
{
name: 'OAuth scopes',
url: '/guides/integrations/build-a-supabase-integration/oauth-scopes' as `/${string}`,