using increasing 'sidebar_position' in each doc metadata still leads to scattered sidebar #10792
Open
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I want to use the autogenerated sidebar and didn't change much of the defaults. I just had to create a new folder in docs to create a category and add markdown files.
I noticed that I can reorder the sidebar contents under the category using the
sidebar_position
in the markdown meta data but once the sidebar position is over 5 it starts misbehaving and does not respond to the ordering.Even more, I am now forced to use numbering in filenames which makes the docs less manageable or maintainable because a new addition that needs to be aligned amongst the already aligned involves me changing the numbering of all the others below the position which is some great manual work.
I am a beginner and I am pretty bad at automating with Javascript and I hope this can be looked into.
What really does happen that stops
sidebar_position
from having effect when the value is 5 and forces you to use numbering of filenames before it can workReproducible demo
No response
Steps to reproduce
Expected behavior
I just expected the sidebar_position in the metadata for each markdown to help in ordering the sidebar
Actual behavior
the
sidebar_position
does not organize elements in the sidebarYour environment
Self-service
The text was updated successfully, but these errors were encountered: