-
-
Notifications
You must be signed in to change notification settings - Fork 736
Typedoc not honoring compilerOptions: paths? #2390
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
You're probably after the This is working as designed:
|
Thanks @Gerrit0 for the quick response. #3. I agree paths do seem very hacky but I wasn't able to get visual studio code to work without them. I will review trying to get rid of the path attribute again. #2. I am not sure this is correct. typescript will also fail if there is more than one alias to the same path or it too would have to arbitrarily pick. (I think). #1. Because of #3 the paths are only valid before bundle but not actually valid after bundle because typescript alters based on the paths attribute. (the /src path partial is removed.). |
The case I'm describing is this:
This is completely fine for paths, but means that a path within there could be "mapped" back to multiple path aliases. |
I have a mono repo with a tsconfig.json that contains paths
With the follow typedocs.json
The docs are almost working but I would expect it to generate links that
follow @sheetxl/common (or even just common) instead of common_src.
see
https://api.sheetxl.com/modules/common_src.html
Is there a workaround where I can redefine or alias these within typedocs?
The text was updated successfully, but these errors were encountered: