-
Notifications
You must be signed in to change notification settings - Fork 687
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
How to prevent modules from being documented, while keeping their classes? #1526
Comments
You're running TypeDoc with configuration like this: {
"inputFiles": ["src"]
} When you do this, TypeDoc will expand that directory into an array of entry points and then document each entry point's exports, resulting in documentation for all of your modules. However, if you pass TypeDoc a single entry point, then it will only document what has been exported from that file, giving documentation for just those exports under your project. This is how TypeDoc's config is set up. This is good enough for most usage, and is what you should use if you are generating docs for a library, but if you are documenting an application's classes without creating a single file that exports what you want to document, then you'll likely want to use typedoc-plugin-merge-modules. |
Thank you so much for the response, @Gerrit0. I indeed use a folder as my https://github.com/felipecrs/megatar I'm gonna play with the plugin you said. Thanks! |
The plugin does exactly what I wanted, thank you so much! |
In the past,
--mode files
had this effect. Now, I can't make this work, I tried to hide (with@hidden
) all my modules, but that stop their classes from being documented as well.I checked the 0.20 release notes for the
--mode
removal, but I couldn't find any help there also.References #1470, which had no response.
The text was updated successfully, but these errors were encountered: