Skip to content

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

Fix cli custom heading anchors

Terry Suttonb9f6a6d8edd8
diff --git a/apps/docs/generator/cli.ts b/apps/docs/generator/cli.ts
index 626e39fadb9..86013beb52d 100644
--- a/apps/docs/generator/cli.ts
+++ b/apps/docs/generator/cli.ts
@@ -27,7 +27,7 @@ async function gen_v001(spec: CliSpec, dest: string) {
const commands = spec.commands.map((x) => {
const isChild = x.subcommands.length < 1
- const heading = isChild ? `### ${x.summary} {#${x.id}}` : `## ${x.summary} {#${x.id}}`
+ const heading = isChild ? `### ${x.summary} [#${x.id}]` : `## ${x.summary} [#${x.id}]`
return {
...x,