-
I've configured docusaurus to support docs for multiple components by using the plugins options like this:
now in the sidebars_mobileapp I would like to link to a document in the blockchain docs. But docusaurus says document ids don't match and they don't match because it looks only in the mobileapp folder :) Currently I hacked this by using a href type instead of a doc link, but it would be nice if one could achieve this with a doc type entry. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, This is unlikely to be supported in the future 2 docs plugin are 100% independant, they don't access the data from the other one. Also 2 docs plugin instances might have different versioning schemes (ios v1/v2 vs android v3/v4 for example) If you don't have different versioning schemes for your mobile app and blockchain, you should rather just use a single doc plugin instance instead (you can still use 2 distinct sidebars in same plugin instance). |
Beta Was this translation helpful? Give feedback.
-
Ok, I see. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi,
This is unlikely to be supported in the future
2 docs plugin are 100% independant, they don't access the data from the other one.
Also 2 docs plugin instances might have different versioning schemes (ios v1/v2 vs android v3/v4 for example)
If ios v2 sidebar did link to an android doc id, we would not be able to know to which android doc is version to link to (v3 vs v4).
Using a link instead of a doc id makes it explicit which version you want to target exactly.
If you don't have different versioning schemes for your mobile app and blockchain, you should rather just use a single doc plugin instance instead (you can still use 2 distinct sidebars in same plugin instance).