npm run version
generates broken sidebars when subcategories exist
#1115
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
good first issue
If you are just getting started with Docusaurus, this issue should be a good place to begin.
🐛 Bug Report
Running
npm run version <x>
generates broken sidebars on version 1.5.1.Have you read the Contributing Guidelines on issues?
Yup
To Reproduce
Sidebar definition
sidebar.json
yields after running
npm run version oryOS.9
in./versioned_sidebars/version-oryOS.9-sidebar.json
Expected behavior
The sidebar should not contain broken links.
Actual Behavior
The sidebar contains broken links.
Reproducible Demo
git clone https://github.com/ory/docs.git
cd docs
git checkout dd96ee81cf315284ee88dd7d2fe5cb10c60be67d -b reproduceme2
cd website
npm i
npm run version oryOS.9
cat ./website/versioned_sidebars/version-oryOS.9-sidebars.json
The text was updated successfully, but these errors were encountered: