Steps for Sphinx Documentation Search by Expertrec
- Create a Search Engine for your sphinx documentation site from the Expertrec control panel. This is very simple you just need to put your site URL, select your region and that’s it. Expertrec search engine will start indexing web pages from your site.
- Replace default sphinx search box by creating _templates/searchbox.html and put the following code in it
- Finally, add a reference to expertrec.js in conf.py and build your site.
html_js_files = [ 'expertrec.js' ]
Expertrec search engine is very cost-effective, fast, and provides highly relevant results. With Expertrec, you will be able to control each and every aspect of your site search engine maybe its filters, scoring, sorting, synonyms. Also, you can fully control the search UI from Expertrec control panel. Know more about the Expertrec search engine and pricing.