-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Search doesn't index #1478
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
You need to add a title. see https://codesandbox.io/s/modest-pike-ehdh9 ## Hello B
```java
public interface Foo { } It is also normal to use incognito mode in chrome |
That does work around the issue sometimes, but not all the time. I won't be able to use autoHeader. For example, if I want my page to look like this (search works, but then I can't use autoHeader):
If I use autoHeader, then my page would start like this (search doesn't work):
So compatibility with autoHeader is an issue. Overall however, there should not be a dependency between a page/section title versus the search indexing. All page content should be able to be indexed. Can you consider this a bug and fix it? This will be very counter intuitive for other people and they won't know that search isn't truly working for all of their content. |
Thank you for your feedback, I will check it as soon as possible |
It's still not possible to find something in a list : https://codesandbox.io/s/sparkling-cdn-v87gl For example you can search "object" on your sandbox and on mine. |
https://codesandbox.io/s/modern-wind-hm6wn @Jir4 Your problem will be fixed in the next version |
怎么设置,都搜不到README.md以外的内容 |
#1361 i guess Didn't search enough sorry. Any release date planned ? |
search still not work |
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:
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
The text was updated successfully, but these errors were encountered: