Miles Johnson
Miles Johnson
I'm working on a similar solution here: https://github.com/milesj/emojibase/pull/64
That would be unfortunate. Let me know if true, and I'll just copy `prism-twig` and rework it till it works.
FWIW, I swizzled the prism stuff and commented out this line to move forward. ```js // delete globalThis.Prism; ```
This is where it gets removed: https://github.com/milesj/docusaurus-plugin-typedoc-api/blob/master/packages/plugin/src/markdownLoader.ts#L7 Maybe it's not working anymore 🤔
It gets loaded here: https://github.com/milesj/docusaurus-plugin-typedoc-api/blob/master/packages/plugin/src/index.ts#L391 Did docusaurus change their webpack logic again...
So I've tried to reproduce this with no luck. It's working correctly on my end.
@B4nan Does the `/api` link not redirect to the first package automatically though?
Alrighty. I'll find some time and just rework the url handling. It's become a bit of a mess.
@jan-molak Both `@link` and `@apilink` use the exact same code: https://github.com/milesj/docusaurus-plugin-typedoc-api/blob/master/packages/plugin/src/utils/markdown.ts#L41 So unless TypeDoc is transforming the comments in someway, I'm surprised they're not consistent. With that said, TypeDoc resolves...
@edwardwilson Interesting. Wouldn't `@namespace/package-a` already be available for importing because of `node_modules` symlinking? Or is this overwriting that to use the source files?