# Init dir and docusaurus with Yarn workspaces.
git init
yarn init -2 -w
yarn create docusaurus docs classic packages
# This works at this point
yarn workspace docs start
# Move docs dir out of the docusaurus directory and update config.
mv packages/docs/docs .
sed -i 's/sidebarPath/path: "..\/..\/docs",\n sidebarPath/' packages/docs/docusaurus.config.js
# This no longer works
yarn workspace docs startslorber/docusaurus-yarn-workspace-repro
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- JavaScript 80.1%
- CSS 15.5%
- MDX 4.4%