diff options
| author | Jess <[email protected]> | 2022-01-27 15:56:33 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-27 15:56:33 -0500 |
| commit | 31830dc5b84cdf4ac54f0aacdafba83731dd1a33 (patch) | |
| tree | d61f33446819e251e99984a7b9ae51a5dd7c2671 /scripts | |
| parent | 15514b5cd211a880aa5ff11c8c809168e9e1ac92 (diff) | |
| download | faker-31830dc5b84cdf4ac54f0aacdafba83731dd1a33.tar.xz faker-31830dc5b84cdf4ac54f0aacdafba83731dd1a33.zip | |
fix: docs v-pre issue (#326)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/apidoc.ts b/scripts/apidoc.ts index 01606ec5..62fc9ed5 100644 --- a/scripts/apidoc.ts +++ b/scripts/apidoc.ts @@ -100,6 +100,8 @@ async function build(): Promise<void> { ${toBlock(module.comment)} + ::: + `.replace(/\n +/g, '\n'); const methods = module.getChildrenByKind(TypeDoc.ReflectionKind.Method); @@ -116,8 +118,12 @@ async function build(): Promise<void> { content += ` ## ${prettyMethodName} + ::: v-pre + ${toBlock(signature.comment)} + ::: + `.replace(/\n +/g, '\n'); // Generate parameter section |
