Closed axel7083 closed 2 days ago
This has been caused by some updates in TypeDoc 0.26 causing the lifecycle to run before TypeDoc has finished generating files. To fix for now the directory will be created if it doesn't exist. Available in docusaurus-plugin-typedoc@1.0.2
Fixes the issue 👍
What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
Our pipeline started failing when migrating from 0.25.13 to 0.26.3 so I tried locally to update to
typedoc-plugin-markdown
version4.1.X
as recommended in the compatibility matrix https://typedoc-plugin-markdown.org/docs/versioning#compatibility-table.However when the
api
folder, where the markdown should be generated does not exist (folder not created before runningdocusaurus build
we are getting the following errorThis can be fixed by making
mkdir api && docusaurus build
but this seems to be a regression as we were not needed this beforeTypeDoc configuration
Expected behavior
The out folder should be created by the plugin before docusaurus get mad that it does not exists