This is a very basic example of a Docusaurus project that uses multi-instance and versioning.
The site has three documentation sets (doc sets): the default docs
, an SDK doc set (sdk
), and an API doc set (api
).
- Default
docs
- Uses the
classic
preset. - Doesn't need a unique
id
. - Uses the
sidebarDefault.js
sidebar.
- Uses the
- SDK docs
- Uses an instance of the
@docusaurus/plugin-content-docs
plugin. - Sidebar:
sidebarSDK.js
- Content location:
sdk
- Plugin instance ID:
sdk
- Uses an instance of the
- API docs
- Uses an instance of the
@docusaurus/plugin-content-docs
plugin. - Sidebar:
sidebarAPI.js
- Content location:
api
- Plugin instance ID:
api
- Uses an instance of the
To get the example site up and running:
- Clone this repo.
- Navigate to the
my-website
folder. - Run
pnpm start
.