Replies: 3 comments
-
I've been working through various issues with search recently, some of which might cause this problem. It would be helpful if you could provide a reproducible test case with public documentation, as seen in #11943 (comment)
If your docs are using readthedocs (as the main sphinx docs are), a different search engine will be used which probably doesn't have the same bugs/problems as local search.
This sounds a lot like #11943. If you have another reproducible test case, please let me know (or just file a ticket). |
Beta Was this translation helpful? Give feedback.
-
Maybe this thread should be moved to the issue tracker since apparently it's a bug and not properly a discussion? |
Beta Was this translation helpful? Give feedback.
-
Closing the discussion (see #11955 instead). |
Beta Was this translation helpful? Give feedback.
-
Did anybody ever encounter an issue that the matched words are not highlighted on the search result page?
The docs are launched by executing
python3 -m http.server
from inside_build/html
directory, and then are accessed in the web browser throughhttp://127.0.0.1:8000
. Every time a search is done, none of matched words are highlighted on the search result page, however, the target page does highlight all matched words.Another issue is that only
h1
headings are listed on the search result page, but I saw in other online sphinx docs that all headings down to the matched word are listed. For example, if the matched word belongs to a section under ah2
heading, thenh2
heading and the parenth1
heading should both listed on the search result page, however, on my machine only theh1
heading is shown unless theh2
heading itself contains the matched word.I've switched among several themes, but the issue persists. BTW, i am using Sphinx 7.1.2.
Beta Was this translation helpful? Give feedback.
All reactions