-
Notifications
You must be signed in to change notification settings - Fork 12
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
Search: default Sphinx search doesn't work on older versions after enabling addons; changes format of flyout #220
Comments
Hi! 👋🏼 Thanks for opening this issue.
The old version warning cannot be enabled on older versions. That feature was deprecated some time ago due to its inconsistencies and UX confusions and because it was re-written into the new addons with a simpler logic for a specific use-case more aligned with Read the Docs' The "old version warning" is only available for those projects that were already using it at the time of the deprecation. However, if you are using the new beta addons, it's not possible to enable the "old version warning" feature since they are incompatible each other. Just for reference, the issue about not being able to rebuild an old version due Read the Docs changes is related to #219 too.
Currently, we don't allow customization of the addons. However, we plan creating a new page under the project's admin for these customization. See readthedocs/ext-theme#211 for more information and feel free to share your feedback there as well. |
We have thought about a similar approach in #46. Can you share your thoughts there? Thanks! |
Yes. It currently requires a rebuild of the version. See #219. I put a fix for this already, but it's under review still. I can probably deploy it next week if everything goes fine. |
@jillnogold Hi 👋🏼 ! Can you share the URL of your project on Read the Docs? I just deployed a fix and I want to test it with your project. |
@humitos sure - it's https://docs.mlrun.org/en/stable/ |
@jillnogold cool, thanks! It seems it works fine now: https://docs.mlrun.org/en/stable/search.html?q=graphserver |
@humitos - It's much better. But I am seeing some duplication in search results, though it's only for some hints: |
Great! I'm happy it's working.
What's the URL for that search? This is probably just Sphinx not being super smart with the search index/query/results. |
@humitos I had to disable the addons - the Search works in all releases I tested except stable |
@jillnogold I think I'm not following what you are saying. I tested the Sphinx search on stable version at #220 (comment) and it was working fine. Can you expand on what is/was not working on each version? Thanks. |
@humitos On Monday the search worked in stable. But on Tuesday, when I tried searching, the main page was blank. Searching in latest and in earlier versions produced results. I can't leave stable without search results, so had to disable the addons |
OK, thanks! Let me know when you're ready to enable addons on your docs so I can debug that further and fix the issues. |
@humitos Can we set a 1-2 hour window for you to debug, to minimize the disruption of stable? |
@jillnogold can you enable it by yourself and record a video of the issue showing the JS console as well? That may be enough to debug the issue. |
The text was updated successfully, but these errors were encountered: