chore(docs): feature flag compliance content (#38527)

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
This commit is contained in:
Charis
2025-09-09 10:52:48 -04:00
committed by GitHub
parent ec66a5d096
commit 3c3f85a06b
3 changed files with 9 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import type { GlobalMenuItems, NavMenuConstant, NavMenuSection } from '../Naviga
const {
authenticationShowProviders: allAuthProvidersEnabled,
billingAll: billingEnabled,
docsCompliance: complianceEnabled,
'docsSelf-hosting': selfHostingEnabled,
sdkCsharp: sdkCsharpEnabled,
sdkDart: sdkDartEnabled,
@@ -16,6 +17,7 @@ const {
} = isFeatureEnabled([
'authentication:show_providers',
'billing:all',
'docs:compliance',
'docs:self-hosting',
'sdk:csharp',
'sdk:dart',
@@ -2192,6 +2194,7 @@ export const security: NavMenuConstant = {
{
name: 'Compliance',
url: undefined,
enabled: complianceEnabled,
items: [
{ name: 'SOC 2', url: '/guides/security/soc-2-compliance' },
{ name: 'HIPAA', url: '/guides/security/hipaa-compliance' },

View File

@@ -32,6 +32,7 @@
"database:replication": true,
"database:roles": true,
"docs:compliance": false,
"docs:self-hosting": true,
"feedback:docs": true,

View File

@@ -112,6 +112,10 @@
"description": "Enable the database roles page"
},
"docs:compliance": {
"type": "boolean",
"description": "Enable documentation on compliance"
},
"docs:self-hosting": {
"type": "boolean",
"description": "Enable documentation for self-hosting"
@@ -258,6 +262,7 @@
"dashboard_auth:sign_in_with_email",
"database:replication",
"database:roles",
"docs:compliance",
"docs:self-hosting",
"feedback:docs",
"integrations:vercel",