Skip to content

Commit

Permalink
Docs: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Mar 8, 2024
1 parent efe13dd commit cd8242c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ async function generateCliDoc() {
);
}

// description
lines.push(renderCliDescription(cmd.description), `</Segment>`);

// subcommands details
cmd.children
.filter((subcmd) => !subcmd.hidden)
Expand Down Expand Up @@ -222,6 +225,9 @@ async function generateCliDoc() {
`</Section>`
);
}

// subcommands description
lines.push(renderCliDescription(subcmd.description), `</Segment>`);
});
}
return lines;
Expand Down

0 comments on commit cd8242c

Please sign in to comment.