Closed CoderIllusionist closed 1 year ago
When updating typedoc to 0.24.x and docusaurus-plugin-typedoc to 0.19.0 plugins aren't loading anymore
typedoc
0.24.x
docusaurus-plugin-typedoc
0.19.0
docusaurus.config.js:
plugins: [ [ 'docusaurus-plugin-typedoc', { entryPoints: ['../lib/index.ts'], tsconfig: '../lib/tsconfig.json', out: 'api', plugin: ['typedoc-plugin-replace-text'], }, ], ],
Before the update I could see in the cli: Loaded plugin typedoc-plugin-replace-text
Loaded plugin typedoc-plugin-replace-text
When updating I get the following
[error] Tried to set an option (replaceText) that was not declared. You may have meant: readme pretty readmeTitle emit name sort help
(worked flawlesly) old package.json
package.json
{ "docusaurus-plugin-typedoc": "0.18.0" "typedoc": "0.23.28", "typedoc-plugin-markdown": "3.14.0", "typedoc-plugin-replace-text": "2.1.0", }
(see error above) new package.json
{ "docusaurus-plugin-typedoc": "0.19.0" "typedoc": "0.24.4", "typedoc-plugin-markdown": "3.15.1", "typedoc-plugin-replace-text": "2.2.0", }
in typedoc.json
typedoc.json
{ "replaceText": { "inCodeCommentText": true, "inCodeCommentTags": true, "inIncludedFiles": true, "replacements": [ // replacements here ] } }
Any thoughts?
Sorry - there was an API change in TypeDoc 0.24 that wasn't implemented.
Should be fixed in docusaurus-plugin-typedoc@0.19.1
Thanks! Fixed!
When updating
typedoc
to0.24.x
anddocusaurus-plugin-typedoc
to0.19.0
plugins aren't loading anymoredocusaurus.config.js:
Before the update I could see in the cli:
Loaded plugin typedoc-plugin-replace-text
When updating I get the following
(worked flawlesly) old
package.json
(see error above) new
package.json
in
typedoc.json
Any thoughts?