1

I'm making a Docusaurus site with two separate sets of documentation. One set of documents is for our website content creators and the other is for site development documentation.

I followed instructions on the Docusaurus site for implementing Docs Multi-instance: https://docusaurus.io/docs/docs-multi-instance

  1. I already have a /docs folder. I created a new /dev folder on the same level. Screenshot: two documentation directories
  2. I installed the docs plugin according to instructions here: https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs
  3. I have the original docs instance from preset-classic. Screenshot: preset-classic code
  4. I added a line for the additional docs by adding plugin info to the docusaurus.config.js file. Screenshot: plugin code
  5. Both /docs and /dev have a markdown file called intro.md. The site loads but the two nav items both point to the intro.md file that's in /docs.
  6. I changed the name of the intro.md file in /dev to devintro.md. After that change, I don't get an error in terminal, but the content isn't visible on the docusaurus site anymore. I just see the favicon and nothing else.

Here's a screenshot from inspector: inspector view of nav links

Has anyone else successfully gotten a multidocs instance running in Docusaurus? How can I have my nav items point to the landing page within each directory? Am I missing a step?

Jenny
  • 11
  • 3

0 Answers0