On Sunday, February 4, 2024 at 12:57:45 PM UTC+1 bradley...@gmail.com wrote:
xrst builds its own search page for each web site it builds; e.g., see https://xrst.readthedocs.io/latest/xrst_search.html What I could not figure out (from the sphinx documentation) was how to replace the normal search with this page ? Indeed the Sphinx documentation on the topic is quite minimal. Sphinx HTML templating is based on Jinja. It's just templated HTML, JavaScript and CSS. A developer needs to have some experience working with Jinja templates, and also experience with HTML. Depending on theme - You find the template for the current search widget in your theme - You replace the relevant HTML code You can find example here: https://github.com/tradingstrategy-ai/docs/blob/master/source/_templates/sidebar/search.html Note that this is for a custom Furo-theme, not the default Sphinx theme. Br, MIkko -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/af3375bb-af3d-4761-b737-8566a1021bden%40googlegroups.com.