How can I exclude the search box generated by sphinx ?

14 views
Skip to first unread message

bradley...@gmail.com

unread,
Aug 5, 2026, 10:39:16 AM (6 days ago) Aug 5
to sphinx-users
I have written a sphinx wrapper that has its own search. The wrapper generats rst files and uses sphinx's API from there. For an example of its output see;
https://cppad.readthedocs.io/latest/

Note that there is a standard sphinx search box at the top and the link to the wrapper search  below it.

How can I uses the sphinx API to exclude the standard sphinx search box ?


Kayce Basques

unread,
Aug 5, 2026, 1:55:43 PM (6 days ago) Aug 5
to sphinx...@googlegroups.com
Hi, each Sphinx theme has its own mechanism for disabling search. Looks like your site uses Furo. Modifying html_sidebars in your Sphinx config seems like the fastest path forward:

html_sidebars = {
    "**": [
        "sidebar/scroll-start.html",
        "sidebar/brand.html",
        # "sidebar/search.html",
        "sidebar/navigation.html",
        "sidebar/ethical-ads.html",
        "sidebar/scroll-end.html",
    ]
}


https://pradyunsg.me/furo/customisation/sidebar/#using-html-sidebars

--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sphinx-users/0c6acee9-5708-4b2f-a14c-7b33d3c28f2en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages