Open lb- opened 2 weeks ago
This might be something to raise at https://github.com/readthedocs/addons.
Also, I am not sure if the styles sass/_component_search.scss are still used, we should probably delete or clean up that file if it's not being used. Depending on how we want to tackle the responsibility of this theme to cover custom search still.
We can't assume the docs are hosted on RTD, so this still has some value. Unless we want to just use the built-in search.html
page from Sphinx.
Good call about the different searching approaches.
I've not seen a bug on readthedocs add-ons that's the same as this but here's two similar ones.
https://github.com/readthedocs/addons/issues/419
https://github.com/readthedocs/addons/issues/292
I'll look at making a seperate bug on that repo soon.
Issue raised. https://github.com/readthedocs/addons/issues/423
The new Read The Docs search adoption seems much simpler, however, the layout and styling needs some work.
Especially how thin it is on small devices.
Something like
width: min(95vw, 55rem);
should be good for the.content
but I am not sure if we can easily control these styles as it's in a custom component.Also, I am not sure if the styles
sass/_component_search.scss
are still used, we should probably delete or clean up that file if it's not being used. Depending on how we want to tackle the responsibility of this theme to cover custom search still.Relates to https://github.com/wagtail/sphinx-wagtail-theme/pull/299