- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 735
Documentation of all nested files of nested sub folders #2235
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
Based on what you said went wrong, I suspect your shell - not typedoc - is expanding the globs. If you run Incidentally, in testing this to make sure it worked correctly, I found a bug with a single directory being passed to TypeDoc, so even if you'd have done this in 0.24.1, it wouldn't have worked properly! |
Thx for your response. It doesn't work. I have errors. With single quote : ./node_modules/typedoc/bin/typedoc 'src/**/*.ts' --out doc --skipErrorChecking
TypeDoc exiting with unexpected error:
Error: ENOENT: no such file or directory, scandir 'E:/project01/src/**'
at Object.readdirSync (fs.js:1047:3)
at glob ...................... With double quotes : ./node_modules/typedoc/bin/typedoc "src/**/*.ts" --out doc --skipErrorChecking
TypeDoc exiting with unexpected error:
Error: ENOENT: no such file or directory, scandir 'E:/project01/src/**'
at Object.readdirSync (fs.js:1047:3)
at glob ...................... |
Did you upgrade typedoc? Before 0.24.4 the expansion is broken |
Hi @Gerrit0, i upgrade to 0.24.5 version. For the moment, i must ever use my workaround. |
I'm going to have to ask for a reproduction, it seems to work correctly for me |
$ ./node_modules/typedoc/bin/typedoc 'src/**/*.ts' --out ./doc --skipErrorChecking
[warning] NeatCsvComplement, defined in ./src/controllers/engine/_common.ts, is referenced by controllers/engine/_common.NeatCsvComplement but not included in the documentation.
[warning] ObjectCustomClass, defined in ./src/controllers/engine/_common.ts, is referenced by controllers/engine/_common.ObjectCustom but not included in the documentation.
[warning] Could not empty the output directory.
[info] Documentation generated at ./doc The documentation is no longer generated in my output folder. And my workaround doesn't work correctly (start but doesn't end). |
I suspect permissions issues. If you manually delete the output directory, that might resolve it |
Hello @Gerrit0, i deleted my output directory "doc" manually (with windows explorer) when i posted my message on sunday. New information : EDIT : i reboot my computer because a lock was on my "doc" folder. It works now on "doc" folder. Thx @Gerrit0 |
Search terms
nested sub folder
Expected Behavior
Explore all nested files of nested sub folders in "src" folder :
file_one.ts and file_two.ts files will be included in the generated documentation.
Actual Behavior
Explore only files in "src" folder, not in nested sub folder of "src" folder :
file_one.ts and file_two.ts files aren't included in the generated documentation.
Explore only files in sub folder of a first level of depth of "src" folder, not in nested sub folder of "src" folder
file_one.ts and file_two.ts files aren't included in the generated documentation.
Steps to reproduce the bug
.
Environment
Thx a lot in advance.
PS : for the moment, i use this workaround :
The text was updated successfully, but these errors were encountered: