-
-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Milestone
Description
Search terms
file path
Expected Behavior
typedoc
should be able to recognize file paths containing [abc]
. This kind of odd path names (along with [...abc]
) are required by a commonly used feature in next.js: https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes
Actual Behavior
If a file path contains [abc]
, typedoc generates an error.
Steps to reproduce the bug
mkdir \[abc\]
touch \[abc\]/a.ts
typedoc \[abc\]/a.ts
TypeDoc generates:
[warning] The glob ./[abc]/a.ts did not match any files
[error] Unable to find any entry points. See previous warnings
Also error out even if the current working directory is inside [abc]/
.
Environment
- Typedoc version: 0.27.6
- TypeScript version: 5.7.2
- Node.js version: 22.12.0
- OS: Linux