mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix cli custom heading anchors
This commit is contained in:
1 parent
f7bf099021
commit
b9f6a6d8ed
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user