Skip to content

Commit

Permalink
fix: docs v-pre issue (faker-js#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaSachs authored and demipel8 committed Mar 11, 2022
1 parent 968260b commit d8ce132
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/apidoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ async function build(): Promise<void> {
${toBlock(module.comment)}
:::
`.replace(/\n +/g, '\n');

const methods = module.getChildrenByKind(TypeDoc.ReflectionKind.Method);
Expand All @@ -116,8 +118,12 @@ async function build(): Promise<void> {
content += `
## ${prettyMethodName}
::: v-pre
${toBlock(signature.comment)}
:::
`.replace(/\n +/g, '\n');

// Generate parameter section
Expand Down

0 comments on commit d8ce132

Please sign in to comment.