Closed
Description
Bug Report
Steps to reproduce
Create three MD files, enable the sidebar, enable search, and observe that search doesn't work.
https://codesandbox.io/s/fervent-almeida-1p5us?file=/index.html
What is current behaviour
docsify.search.index only contains content for a.md and b.md/c.md was not parsed into the index:
{
"/a":{"#/a?id=hn2":{"slug":"#/a?id=hn2","title":"HN2","body":"HN3\nHello A"}},
"/b":{},
"/c":{}
}
Using Chrome incognito is even worse, not even a.md is searchable.
What is the expected behaviour
The index should properly contain all pages to be able to perform a search.
Other relevant information
-
Bug does still occur when all/other plugins are disabled?
-
Your OS: Mac / Chrome
-
Docsify version: latest
-
Docsify plugins: search.min.js
Please create a reproducible sandbox
https://codesandbox.io/s/fervent-almeida-1p5us?file=/index.html
Mention the docsify version in which this bug was not present (if any)
N/A