-
Notifications
You must be signed in to change notification settings - Fork 81
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
Extension Error (exception: 'sources') #166
Comments
It sounds like TypeDoc's JSON format has changed again. Can you try on TypeDoc 0.15.0 and see if it works? We're known to be compatible with that version (and working on future versions: see #162). |
With TypeDoc 0.15.0 (which downgrades Typescript to 3.5.3. and highlight.js to 9.18.5, I receive this error message:
In $imported_file_path, I'm importing another library file with |
Well, I don't know what the heck any of that means, but it doesn't look good! :-) Hopefully when we get around to updating for newer versions of typedoc, it'll fix this. |
I had this error recently, fixed it by changing
but this of course doesn't seem to work when setting js_source_path to a list of things. |
Hi Guys, regarding this problem I understand where is the issue but not sure the exact way to fix it. Inside sphinx-js/sphinx_js/typedoc.py Line 197 in a1ee456
the node['sources'] seems to be invalid when the kind is Constructor. |
Minimal, reproducible example with TypeDoc 0.22.15:
|
I can get it to work with 0.16.11 (0.17.0 is the breaking point), avoiding #166 (comment), by including That is, my minimal example works after the following changes:
|
Hi,
I'm trying to build Typescript documentation, but I'm getting this error when executing
make html SPHINXOPTS=-v
(local paths replaced with $env_path for privacy):Versions:
TypeDoc 0.20.14
Using TypeScript 4.1.3 from /usr/lib/node_modules/typescript/lib
Sphinx 3.4.3
Sphinx-js 3.1
I tried debugging, but I'm new to typedoc, so I'm kind of stuck.
What I could tell was that it crashes when processing the constructor of my class, in typedoc.py
kind == Constructor
Any idea where this is coming from?
The text was updated successfully, but these errors were encountered: