-
Notifications
You must be signed in to change notification settings - Fork 4
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
Relative instead of absolute paths #12
Comments
Definitely needs investigation; this looks like a bug to me. |
Running into the same issue and noticed this was closed as "not planned". @jakobrosenberg were you ever able to resolve? @Gerrit0 any idea of the root-cause? |
GitHub shows not planned for any of the non-"done" reasons. In this case, closed because no minimal reproduction was provided so it is unworkable. |
That's fair, I'll work on seeing if I can boil down a reproduction app. |
@Gerrit0 I made a sample project for testing how to document the JavaScript code of a different project. I'll probably change a lot of the setup, but also came across this issue. I made a branch with the state where this issue occurs, try the following to reproduce it: git clone https://github.com/blutorange/primefaces-js-refactor-test.git
cd primefaces-js-refactor-test/
git checkout typedoc-plugin-missing-exports-issue-12
npm install
cd packages/core/
npx tsc
npm run typedoc
open docs/index.html Then open |
Ah, that makes a ton of sense... ick. It's probably going to require some terrible hack to fix this. |
@Gerrit0 For reference, this can also cause an error when generating the documentation, in conjunction with yarn's PNP mode:
The OS complains because the filename it tries to use it too long ( git clone https://github.com/blutorange/primefaces-js-refactor-test.git
cd primefaces-js-refactor-test/
git checkout demo-typedoc-issue-long-file-names
yarn install
yarn typedoc src/index.ts --out docs --plugin typedoc-plugin-missing-exports This happens as soon as there are multiple imports / external modules. When you comment out one of the imports in index.ts, it only generates names like Though perhaps this would need to be addressed by the typedoc core, that it finds a way to avoid long file names? |
Is it possible to change this to a relative path? I imagine it could cause confusion or even breakage on other machines.
The text was updated successfully, but these errors were encountered: