Skip to content

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

chore: update section titles

Qiao Han75863037f2d6
diff --git a/apps/docs/pages/guides/cli/config.tsx b/apps/docs/pages/guides/cli/config.tsx
index 6789c50ce74..febc8fe69d5 100644
--- a/apps/docs/pages/guides/cli/config.tsx
+++ b/apps/docs/pages/guides/cli/config.tsx
@@ -7,17 +7,15 @@ import Head from 'next/head'
import { CodeBlock } from 'ui'
// Parameters are grouped on the page by tag
-const TAGS = ['General', 'Auth', 'API', 'Database', 'Dashboard', 'Local', 'Edge-Functions']
-
const tocList = []
-const content = TAGS.map((tag) => {
- tocList.push({ text: tag, link: `${tag.toLowerCase()}-config`, level: 2 })
+const content = specFile.info.tags.map((tag) => {
+ tocList.push({ text: tag.title, link: `${tag.id}-config`, level: 2 })
return (
<div>
- <Heading tag="h2">{tag} Config</Heading>
+ <Heading tag="h2">{tag.title} Config</Heading>
{specFile.parameters
- .filter((param: Parameter) => param.tags[0] === tag.toLowerCase())
- .map((parameter: Parameter, index) => {
+ .filter((param: Parameter) => param.tags[0] === tag.id)
+ .map((parameter: Parameter) => {
tocList.push({ text: parameter.id, link: `#${parameter.id}`, level: 3 })
return <Info parameter={parameter} />
})}
diff --git a/spec/cli_v1_config.yaml b/spec/cli_v1_config.yaml
index dfc29bb92b7..b4e9cc67e52 100644
--- a/spec/cli_v1_config.yaml
+++ b/spec/cli_v1_config.yaml
@@ -21,32 +21,32 @@ info:
title: General
description: General settings.
- id: auth
- title: Auth Settings
- description: Auth Settings.
+ title: Auth
+ description: Auth settings.
- id: api
- title: API Settings
- description: Auth Settings.
+ title: API
+ description: Auth settings.
- id: database
- title: Database Settings
- description: Database Settings.
+ title: Database
+ description: Database settings.
+ - id: dashboard
+ title: Dashboard
+ description: Dashboard settings.
- id: realtime
- title: Realtime Settings
- description: Dashboard Settings.
+ title: Realtime
+ description: Dashboard settings.
- id: storage
- title: Storage Settings
- description: Storage Settings.
- - id: dashboard
- title: Dashboard Settings
- description: Dashboard Settings.
+ title: Storage
+ description: Storage settings.
- id: edge-functions
- title: Edge Functions Settings
- description: Edge Functions Settings.
+ title: Edge-Functions
+ description: Edge-Functions settings.
- id: analytics
- title: Analytics Settings
- description: Analytics Settings.
+ title: Analytics
+ description: Analytics settings.
- id: local
title: Local Development
- description: Local Development.
+ description: Local Development settings.
# This section is an array of public functions which a user might need to execute.
parameters: