doc: fix typedoc config

This commit is contained in:
fryorcraken.eth 2023-02-28 15:07:11 +11:00
parent 0b93fdd76d
commit a76c7f1582
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,14 @@
const packageJson = require("./package.json"); const packageJson = require("./package.json");
// Pop last value out: packages/tests
packageJson.workspaces.pop(); let entryPoints = [];
for (const entryPoint of packageJson.workspaces) {
if (!["packages/tests", "packages/build-utils"].includes(entryPoint))
entryPoints.push(entryPoint);
}
module.exports = { module.exports = {
entryPointStrategy: "packages", entryPointStrategy: "packages",
entryPoints: packageJson.workspaces, entryPoints,
out: "docs", out: "docs",
exclude: ["**/*.spec.ts"], exclude: ["**/*.spec.ts"],
excludeInternal: true, excludeInternal: true,