You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, we have a site configured in the following manner:
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'Proj1',
...
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'Proj2',
...
},
],
["docusaurus-plugin-openapi-docs",
{
id: "Proj1",
docsPluginId: "Proj1",
...
},
],
["docusaurus-plugin-openapi-docs",
{
id: "Proj2",
docsPluginId: "Proj2",
...
},
],
If both openapi-docs instances are in the config, I get the following error:
yarn gen-api-docs all
yarn run v1.22.21
$ docusaurus gen-api-docs all
OpenAPI docs plugin ID must be specified when more than one plugin instance exists.
Done in 2.01s.
But if I comment out one or the other I'm able to generate the the docs.
Is there a better way to configure multi-instance with the tool or is there an issue with the tool?
Beta Was this translation helpful? Give feedback.
All reactions