Docusaurus provides an opinionated suggestion for referencing other markdown files as a link: use ../link/to/file.mdx instead of ../link/to/file (for example).
The issue is that this is only possible when the two markdown files are using the same plugin. Our site is (currently) bifurcated into two instances of the plugin-content-docs plugin:
everything under the /docs directory, and
everything under the /network directory.
When "crossing the barrier" from one plugin to the other, we cannot use the .mdx file extension, while links within the same plugin should use the .mdx file extension.
This information should be present in the README file, or contribution guidelines, or somewhere.
Docusaurus provides an opinionated suggestion for referencing other markdown files as a link: use
../link/to/file.mdx
instead of../link/to/file
(for example).The issue is that this is only possible when the two markdown files are using the same plugin. Our site is (currently) bifurcated into two instances of the
plugin-content-docs
plugin:/docs
directory, and/network
directory.When "crossing the barrier" from one plugin to the other, we cannot use the
.mdx
file extension, while links within the same plugin should use the.mdx
file extension.This information should be present in the README file, or contribution guidelines, or somewhere.