-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken search results for internal includes #2369
Comments
What did you mean "broken"? |
Take a look at the search results Here are results from the pages which not contain internal |
Hm... Could you provide me the search output where do you see "OTA"? Thanks. |
Thank you for explanation. I understand what you said "broken". At this present, Sphinx uses the source file (*.rst) to display contents around the keyword. So it fails to highlight the keywords if the keyword does not exist in the document directly. I think big change is needed to fix this. It might be generate another text file to show contents around the keyword. |
With #1618, Sphinx is getting the search preview snippets from the HTML files. We can expect this issue to be fixed once 2.0 is released. I will close this issue now. |
Description of problem
We have received report from our @platformio community that search result for the some pages are broken in our documentation. I tried to look into the source code and found that issue is related with the documents which have internal
.. include::
.Steps to Reproduce
OTA
Actual Results
We see 2 broken results with "copyrights" content. Affected RAW files:
Expected Results
Results should contain matched text according to the search query.
The text was updated successfully, but these errors were encountered: