<!-- Please don't delete this template or we'll close your issue --> <!-- Please use English language --> <!-- Before creating an issue please make sure you are using the latest version of Docsify. --> <!-- Please ask questions on StackOverflow: https://stackoverflow.com/questions/ask?tags=docsify --> ## Bug Report #### Steps to reproduce I create a bug showcase as below to reproduce this. https://l3au.github.io/assets/docsify/ #### What is current behavior `loadSidebar: true` config doesn't work #### What is the expected behavior Make it work even when the script url doesn't contain `docsify.` by the following ways - fix `document.currentScript` using - improve config fields coercion #### Other relevant information <!-- (Update "[ ]" to "[x]" to check a box) --> - [x] Bug does still occur when all/other plugins are disabled? - Your OS: macOS Mojave 10.14.5 - Node.js version: v10.15.3 - npm/yarn version: npm 6.4.1 - Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 - Docsify version: 4.9.4 - Docsify plugins: none <!-- Love docsify? Please consider supporting our collective: 👉 https://opencollective.com/docsify/donate -->