Multiple docs in one project
complete
Sébastien Lorber
complete
We now support using multiple docs plugin instance.
It's new and not very well documented yet, but we have an example on Docusaurus website where we run a "community" instance (unversioned docs):
https://v2.docusaurus.io/community/support
Simen A. W. Olsen
Other reference material:
ORY copies a template to the different
/docs
folders. My issue with this is that you'd get a lot of unnecessary overhead.Simen A. W. Olsen
Hello! I want to organize my documentation in separate repositories. To make it as customizable as possible, I want to have a separate
sidebars.js
for each of them. So, what I want is that our documentation (ex. tabetalt/docs) downloads all docs/
folders from each of our repositories. In those docs/
folders, I'll have a sidebars.js
file. In my docusaurus.config.js
, I'll configure multiple '@docusaurus/plugin-content-docs' instances for each of them.I don't know why, but I tried multiple
@docusaurus/plugin-content-docs
instances. That currently does not work. What I've done for now, is make a separate package that just abstracts @docusaurus/plugin-content-docs
and combine the results of @docusaurus/plugin-content-docs's functions.My documentation repository: https://github.com/tabetalt/docs
The
docusaurus-multiple-docs
repo: https://github.com/tabetalt/docusaurus-multiple-docsA
Alex Busy
That would be very useful! Consider you have an Android and iOS SDK and both SDKs move with different version numbers but you want to manage both docs with a single Docusaurus project.
Josh Harwood
I'm interested in seeing if we could support version control for multiple packages as part of a documentation portal.