Drarig29 / typedoc-plugin-extras

A plugin for TypeDoc which adds extras to the generated documentation
https://drarig29.github.io/typedoc-plugin-extras/
MIT License
13 stars 3 forks source link

Compatibility with TypeDoc 0.26.x #22

Closed willeastcott closed 3 months ago

willeastcott commented 3 months ago

TypeDoc 0.26.0 was released over the weekend. typedoc-plugin-extras is not currently compatible with it.

Sure, this peerDependecy needs updating, but there seem to be other problems regarding calling the TypeDoc API that need fixing.

Building the PlayCanvas API reference manual gives:

C:\dev\api-reference>npm run build

> @playcanvas/api-reference@1.0.0 build
> typedoc

[info] Loaded plugin C:\dev\api-reference\typedoc-plugin-property.mjs
[error] The plugin typedoc-plugin-extras could not be loaded
[error] TypeError: app.renderer.once is not a function
    at load (C:\dev\api-reference\node_modules\typedoc-plugin-extras\dist\main.js:80:18)
    at loadPlugins (C:\dev\api-reference\node_modules\typedoc\dist\lib\utils\plugins.js:30:23)
    at async Application.bootstrapWithPlugins (C:\dev\api-reference\node_modules\typedoc\dist\lib\application.js:222:13)
    at async main (C:\dev\api-reference\node_modules\typedoc\dist\lib\cli.js:42:15)
[info] Loaded plugin typedoc-plugin-mdn-links
[info] Loaded plugin typedoc-plugin-rename-defaults
[info] Loaded plugin typedoc-plugin-missing-exports
[error] Found 2 errors and 0 warnings
Drarig29 commented 3 months ago

Hi @willeastcott! Sorry I didn't see the issue... I'm working on a new release.

Drarig29 commented 3 months ago

I just published v3.1.0.