Compilation with version and sub-directories fails #1140
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs more information
There is not enough information to take action on the issue.
🐛 Bug Report
Recently @yangshun fixed an issue in the generation of the sidebar.json (See #1124)
However, I am now facing an issue when trying to compile a project with multiple version.
When compiling, it complains about the document id:
Have you read the Contributing Guidelines on issues?
No
To Reproduce
docs/main/features/delegating-permissions
yarn run version 0.0.1
website/versioned_docs/version-0.0.1/main/features
% yarn run build yarn run v1.12.1 warning package.json: No license field $ docusaurus-build Error: Document id cannot include "/".
Expected behavior
The build should pass without error and the website should be able to render.
Actual Behavior
Build is failing with error
Error: Document id cannot include "/".
The text was updated successfully, but these errors were encountered: