When using multiple docs plugins, if the path
is a prefix of the path
of another plugin it will cause errors
#4102
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Solution is to add a trailing slash to the
include
rule here:docusaurus/packages/docusaurus-plugin-content-docs/src/index.ts
Line 347 in ae45b11
This caused me the error outlined here: #4101
E.g.
If you have a plugin with
path: clis/cli
and then apath: clis/cli-foo
, the first plugin will attempt to process the second plugins mdx files and it will mess with the mdx metadata code. See #4101.The text was updated successfully, but these errors were encountered: