I have the following directory structure
docs
├──1-Welcome/
├──2-Onboarding/
├──3-Tools/
├──4-Projects/
├──5-IDi/
├──_docsify/
├──favicon.ico
├──index.html
├──_media/
├──_navbar.md
├──README.md
└──_sidebar.md
when running
docsify-auto-sidebar -d docs
the _navbar.md is added as the last section of _sidebar.md
It is possible that this change will fix it:
let ignores = /node_modules|^\..*|^_sidebar\.md$|^_navbar\.md$|^_coverpage\.md$|_docsify/;