-
-
Notifications
You must be signed in to change notification settings - Fork 750
Description
Search terms
negate exclude
Question
I am trying to understand entry points and exclusions. I assume "entry point" means an index.tsx file that is the root of our application, but we have dynamically loaded routes in a react app so a majority of the app is "linked" but even so, using that individual file produces docs output of nothing but our readme.
I tried uses a glob for entry points instead "entryPoints": ["app/**/*.ts?(x)"], which works, except I cannot get excludes to work despite trying a dozen different things.
I tried negating stuff in the glob in various ways, I tried adding stuff to the exclude array, yet nothing is ever excluded from the output.
For example:
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["app/**/*.ts?(x)"],
"exclude": ["app/**/*(.spec|.stories).tsx"],
"out": "docs"
}The .spec.tsx and .stories.tsx files are still in the docs output. I've tried various glob patterns, listing them as separate array entries, etc. No changes.
Am I misunderstanding how this works?