-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
Description
Description
Indexing for the search plugin fails if any document linked in the sidebar failed to load.
Expected behavior
Docsify should index at least pages that were loaded successfully.
Actual behavior
The index is not updated at all
Steps to reproduce
Please see this reproduction repository. In this repo, the sidebar has a link that is intentionally broken, i.e. leads to a non-existing MD file.
- run
yarn - run
yarn serve - navigate to http://localhost:3000/
- try to search for "ipsum"
Normally, Docsify should find this word in the "lorem.md" file. However, it says "No results" because it failed to index the content.
Environment
- Docsify version: 5.0.0-rc.3
Additional Information
- Bug still occurs when all/other plugins are disabled?
Reactions are currently unavailable