Skip to content

Commit 6d4e89c

Browse files
Fix JS doc not generated since typedoc 0.27.0 upgrade (#5812)
typedoc changed their api so it was generting the html not the markdown files
1 parent f81fa45 commit 6d4e89c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/tspd/src/ref-doc/api-docs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export async function generateJsApiDocs(libraryPath: string, outputDir: string)
3131
readme: "none",
3232
hideGenerator: true,
3333
disableSources: true,
34+
out: outputDir,
3435
...markdownPluginOptions,
3536
});
3637

@@ -41,7 +42,7 @@ export async function generateJsApiDocs(libraryPath: string, outputDir: string)
4142
return;
4243
}
4344

44-
await app.generateDocs(project, outputDir);
45+
await app.generateOutputs(project);
4546

4647
await writeFile(
4748
joinPaths(outputDir, "_category_.json"),

0 commit comments

Comments
 (0)