Closed spalladino closed 10 months ago
Thank you @tgreyuk! Any chance we can get a release with this fix, so we can drop the fork and go back using the upstream version of the package..?
Sure - docusaurus-plugin-typedoc@0.20.2
Awesome, thanks man!!
The generate-typedoc CLI command would run typedoc on every plugin instance defined on the site, not just for the current one. This would cause generation to fail with errors "Tried to set an option that was not declared", since the config for other plugins would not pass the validation for this plugin.
This fix checks that the plugin name matches the current one before running generateTypedoc on it.