-
Notifications
You must be signed in to change notification settings - Fork 701
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
Improve Internal/External code distinction #927
Comments
Besides renaming "Externals" to "Libs" it could be awesome if there was a way to differentiate code to be consumed internally from the public exported API, something like typedoc-plugin-internal-external tries to do at the Maybe after "Libs" gets added, "Externals" can be repurposed to differentiate between Internal APIs from the External exported public surface? Hope you understand what I mean. |
@diosney That's a good point. So you are thinking there should be a |
@aciccarello Yes, that was what I meant! Do you think that is possible? It could be really awesome :D |
If we're talking |
I am experiencing the issue that most of my code gets flagged as I think this is because of the way this method is implemented: typedoc/src/lib/converter/context.ts Lines 403 to 415 in 3f63956
If I am not mistaken, typedoc/src/lib/converter/context.ts Lines 25 to 28 in 3f63956
So my
Does this mean that the whole directory Could there be something like an Edit: I have just noticed that it was probably my fault: I used Then I get all the files in typedoc/src/lib/converter/converter.ts Line 276 in 3f63956
|
The external distinction has changed significantly in 0.20.... along with a ton of other stuff. Symbols (not files) are now marked external based solely on externalPattern, and TypeDoc defaults to marking symbols as external iff they come from |
There is a lot of confusion on the Internal/External code distinction. Ideally, internal code would include the types in the project while external code would be libraries. TypeDoc currently uses the input files as the distinction between these two which is insufficient in cases where users want to use an entry file as their input.
node_modules
orlibs
directory as external rather than input files--externalPattern
for more granular controlRelated issues: #124, #673
The text was updated successfully, but these errors were encountered: