You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After TypeDoc has finished converting packages, it will look for types which are referenced, but not exported, and place them into an internal module for that entry point (called <internal> by default).
And you can see where my issue is going to, With the following config:
☝️ these lines are finding the <internal> Module as the module, instead of handling the web project as the module itself.
Question
Is there any way from the top of your head on how to make this work?
I almost wonder if docusaurus-plugin-typedoc-api should receive an explicit config property where we can indicate whether or not it's a monorepo so the plugin doesn't need to do all the magic, but not sure if that is a good idea (I'm not too familiar with TypeDoc)
The text was updated successfully, but these errors were encountered:
I have no plans to directly support typedoc plugins, but I'll review any contributions/PRs for it.
Also, it's not just a polyrepo vs monorepo problem. As shown in the code snippet above, it also takes into account deep imports, multi imports, index imports, etc. This applies to both poly and mono, so there's a handful of combinations to support. This wouldn't be as easy as a flag.
At minimum, the hasNoModules can probably just ignore <internal> modules.
Hey @milesj - thanks for the quick fix for #84
I'm unfortunately having a new/similar error now with the
typedoc-plugin-missing-exports
plugin anddocusaurus-plugin-typedoc-api
.The TL;DR of that plugin:
And you can see where my issue is going to, With the following config:
I get this
.docusaurus/api-typedoc-default.json
output:docusaurus-plugin-typedoc-api/packages/plugin/src/plugin/data.ts
Lines 264 to 277 in 07ddf61
☝️ these lines are finding the
<internal>
Module as the module, instead of handling theweb
project as the module itself.Question
Is there any way from the top of your head on how to make this work?
I almost wonder if
docusaurus-plugin-typedoc-api
should receive an explicit config property where we can indicate whether or not it's a monorepo so the plugin doesn't need to do all the magic, but not sure if that is a good idea (I'm not too familiar with TypeDoc)The text was updated successfully, but these errors were encountered: