-
-
Notifications
You must be signed in to change notification settings - Fork 737
--includeDeclarations causes typedoc to hang indefinitely #913
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
Comments
I was able to run locally in ~190 seconds on a relatively fast computer which is not great but it did complete. I would recommend excluding the node modules directory to avoid unnecessary documentation as that appears to be the main cause of the slowdown. Using the option |
Response from @9oelM merged from #919: The problemYes I have looked at #913 and the comment by @aciccarello also. But I still find that ContextI was planning to add I tested this problem each time with the option specified on cli (by specifying Reproducing the problemYou can test directly from
or git clone this repo to test it out:
this is going to show something like
and hang forever. This is the content of the config file used: module.exports = {
module: "commonjs",
mode: "modules",
target: "es5",
out: "docs/",
name: "justTesting",
exclude: ["node_modules/**", "**/"],
includeDeclarations: true,
} I waited for several minutes but it won't work. It is even clearer that
It would work without So..I just hope there would be some kind of safety measures in case users put |
@9oelM What makes you think that TypeDoc isn't hanging on type definition files in |
@aciccarello woops. did not realize there is a problem in the |
as the v0.14 release has a workaround bugfix for it: - TypeStrong/typedoc#913 - TypeStrong/typedoc#896
Affecting eachr#dev-typescript-dts
Reproduce with:
Hangs with:
And the version details:
The text was updated successfully, but these errors were encountered: