There's not really a good way to filter the classes/files that should be documented by the code doc plugins (javadoc, kotlindoc, etc.). There needs to be ways to customize which classes are documented.
Possible methods of filtering:
Look for annotations on the class, or a tag in a comment. Have setting to only document ones with this marker, or else exclude the ones with this marker.
PROS: Fine-grained, easy to implement, easy to undrstand
CONS: Difficult to apply to large codebases, makes code more cluttered
Filter by a regex or glob-like pattern on the fully-qualified class name
PROS: easy to apply to large codebases, keeps filtering out of the source code
CONS: glob patterns are hard to understand, and might be too coarse of a filter
There's not really a good way to filter the classes/files that should be documented by the code doc plugins (javadoc, kotlindoc, etc.). There needs to be ways to customize which classes are documented.
Possible methods of filtering: