-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix Docs Search in Sphinx 6.0+ #3498
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
Conversation
|
Auto modification of search query seems to be futile.. and since API v3, most search results seem to be sorted anyway, so that is not worth the effort. PR can be merged/reviewed now |
|
Thanks for the PR!
Can you remind me what "auto modification of search query" means? 😬
IMO it's worth a try to PR against upstream with these changes first. If they adopt the proposed changes, you can merge into your branch. This reduces the risk of merge conflicts. However, I don't know if your branch has already diverged too much from upstream, i.e. if your changes are not applicable to upstream anymore, that's ofc a different story. |
I mean this. I hoped that doing something like
I did open an issue yesterday (readthedocs/readthedocs-sphinx-search#126), no response yet |
They = Sphinx? I saw the issue, but I didn't see a PR yet |
|
readthedocs/readthedocs-sphinx-search#126 has been resolved by now. Can you update your branch accordingly? |
yeah will do tomorrow or day after |
…3515, #3523, #3498, #3529) Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com> Co-authored-by: Shivam Saini <51438830+shivamsn97@users.noreply.github.com> Co-authored-by: Aditya Yadav <adityayadav11082@gmail.com> Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com> Co-authored-by: Crsi <47722349+CrsiX@users.noreply.github.com> Co-authored-by: poolitzer <github@poolitzer.eu> Co-authored-by: Aditya <clot27@apx_managed.vanilla>
Fixes doc search in sphinx 6.0+. (
This is not fixed at readthedocs-sphinx-search yetWas fixed and merged into my fork)Build at: https://docs.python-telegram-bot.org/en/doc-improve-search
Changelog at: https://github.com/harshil21/furo-sphinx-search/commits/main (see commit msgs)
Todo now that I started this again:
Sort search results such that highlighted results on the left are prioritized over ones only on the rightExperimental: Prefix search if only one word has been typed, so we get better results.