You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setup generates correctly the docs for packages/logger and packages/metrics because their only entry point is packages/*/src/index.ts and everything is exported there.
On the other hand, for various reasons, the third package in the npm workspace packages/parameters has multiple entrypoints:
packages/parameters/src/index.ts
packages/parameters/src/foo/index.ts
packages/parameters/src/bar/index.ts
However I cannot get typedoc to pick up all of them and I cannot seem to find a way to do so from the docs.
Is there any way for me to have the docs to include the contents of packages/parameters/src/foo/index.ts and packages/parameters/src/bar/index.ts without explicitly exporting them in packages/parameters/src/index.ts?
Thanks
The text was updated successfully, but these errors were encountered:
Today, multiple entry points are not supported for packages in packages mode. #1937
In 0.24, packages mode will essentially be running TypeDoc several times for each package, then merging them together, so this will be pretty easy then.
Search terms
monorepo, multiple entry points
Question
I have the following package structure:
and the following
typedoc.js
:This setup generates correctly the docs for
packages/logger
andpackages/metrics
because their only entry point ispackages/*/src/index.ts
and everything is exported there.On the other hand, for various reasons, the third package in the npm workspace
packages/parameters
has multiple entrypoints:packages/parameters/src/index.ts
packages/parameters/src/foo/index.ts
packages/parameters/src/bar/index.ts
However I cannot get typedoc to pick up all of them and I cannot seem to find a way to do so from the docs.
Is there any way for me to have the docs to include the contents of
packages/parameters/src/foo/index.ts
andpackages/parameters/src/bar/index.ts
without explicitly exporting them inpackages/parameters/src/index.ts
?Thanks
The text was updated successfully, but these errors were encountered: