From 3c7bc0c929c7d6085dd0c3d11168ef8b42f5abdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Mon, 10 Feb 2025 09:26:51 +0000 Subject: [PATCH] docs: correct directory and set entryPointStrategy The directory where to generate the docs from was wrong, I'm not sure when this changed but probably during the move from release-0.x to release-1.x. Also the `entryPointStrategy` needed to be set so that we are able to include these files to generate the docs even if our ts-config doesn't include them. This was the default behavior a couple of releases of typedoc ago but was changed. --- package.json | 2 +- typedoc.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dff0dc5f46..c354465622 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "test-transpiled": "mocha --no-config dist", "prepare": "npm run build && husky", "prepack": "npm run build", - "docs": "typedoc src/gen/api" + "docs": "typedoc src/gen/apis" }, "c8": { "include": [ diff --git a/typedoc.json b/typedoc.json index 612df6fb24..8e126ec960 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,3 +1,4 @@ { - "out": "docs" + "out": "docs", + "entryPointStrategy": "expand" }