Skip to content

Commit

Permalink
Fix JS doc not generated since typedoc 0.27.0 upgrade (#5812)
Browse files Browse the repository at this point in the history
typedoc changed their api so it was generting the html not the markdown
files
  • Loading branch information
timotheeguerin authored Jan 29, 2025
1 parent f81fa45 commit 6d4e89c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tspd/src/ref-doc/api-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export async function generateJsApiDocs(libraryPath: string, outputDir: string)
readme: "none",
hideGenerator: true,
disableSources: true,
out: outputDir,
...markdownPluginOptions,
});

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

await app.generateDocs(project, outputDir);
await app.generateOutputs(project);

await writeFile(
joinPaths(outputDir, "_category_.json"),
Expand Down

0 comments on commit 6d4e89c

Please sign in to comment.