-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when creating a single documentation for an entire monorepo #1971
Comments
You probably want to use
Monorepos aren't something I have a ton of experience with, if you're able to set up a PR for https://github.com/TypeStrong/typedoc-repros which creates a similar structure to your real project, I can probably give better advice. |
You can see the structure in my lerna.json file here Not all of them are necessary for TypeDoc, once I understand how to work with the It looks something that I can also document. |
@Gerrit0 I've found a way to specify all packages to use for the typedoc output but I'm receiving this error now when I try running
The repository is this: https://github.com/matteobruni/tsparticles/tree/dev This is the The commands for building the whole repository are (from the project root):
But I think only For building the broken TypeDoc configuration (from the project root):
|
... that's 65 entry points. In packages mode, that means that's 65 concurrent programs TypeDoc needs to construct. It's no surprise you don't have enough memory for it, that'd probably need 20-25gb of memory to complete. I want to re-work packages mode so that TypeDoc only creates one |
This comment was marked as off-topic.
This comment was marked as off-topic.
Just for test, I've tried allocating 25GB to the node process but the heap message still happened. At least it worked for 30 minutes, I have 32GB total, but I'm not going to try more than 25GB unless it could help the debug process. This is the configuration used, maybe someone will have more luck than me.
|
Search terms
monorepo, multiple packages
Question
I have a monorepo with a central core package and a lot of plugins that use it.
I'd like to have a single docs website that covers all of them, but I don't understand using the existing documentation how to achieve that.
For the monorepo I'm using Lerna + NX, without workspaces (I'm having issues with any kind of workspaces).
The text was updated successfully, but these errors were encountered: