mirror of https://github.com/waku-org/js-waku.git
doc: fix typedoc config
This commit is contained in:
parent
0b93fdd76d
commit
a76c7f1582
10
typedoc.cjs
10
typedoc.cjs
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue