Replies: 2 comments 4 replies
-
Nevermind, I changed my workflow to have a single source. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Docusaurus has a possibility to set plugin id. IMO, It is the best way to handle external source (like API References): https://docusaurus.io/docs/using-plugins#multi-instance-plugins-and-plugin-ids module.exports = {
plugins: [
[
'@docusaurus/plugin-content-docs',
{
path: 'docs',
routeBasePath: 'docs',
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'api',
path: 'api',
routeBasePath: 'api',
},
],
],
}; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am new to Docusaurus.
I started with a preset-classic and I have 2 sources of .md files to consume:
node_modules/{project}/src/**.md
.Should I use the docs plugin twice, or should I use a advanced config for one doc plugin instance?
Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions