Closed adaxi closed 1 week ago
Thanks a lot for the report and reproduction!
Strangely, I get a different error from you:
TypeError: Project.init() missing 1 required keyword-only argument: 'readme'
I believe I can simply make the readme
parameter optional, and add an optional files
parameter too, to resolve both issues.
Could you somehow give me more information about this files
argument that seems to be passed to Project
:thinking:? You can probably either run a Python debugger, or generate the JSON output with typedoc
by running it manually, and checking the resulting JSON to see what these files
are (list of paths?).
Ah, I now get the same error as you (fixed my setup, had typedoc installed globally).
{'entries': {'1': '../sdk/src/index.ts'}, 'reflections': {'1': 0}}
https://typedoc.org/api/interfaces/JSONOutput.FileRegistry.html#entries
OK I've pushed new commits (and tags) for both griffe-typedoc and mkdocstrings-typescript (insiders versions). This shouldn't crash anymore.
Thank you for the quick reaction time, has solved this issue :)
When I attempt to build my documentation I get the following error:
Attached you can find a reproducer: reproducer.tar.gz
To reproduce:
The reproducer includes all the plugins I am currently using. Note that I am also also includes the typedoc plugin which generates typedoc documentation on the side, though this one does not seem to be interfering with mkdocstrings-typescript.