-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add Algolia DocSearch to our site #504
Comments
Nice, looking forward to seeing the results. |
For future reference here are the docs on getting it set up https://docsearch.algolia.com/docs/dropdown. |
DocSearch is ready! I will see if I can do the integration myself... |
I got a note from Algolia on September 9 saying that they're going to stop crawling our site on September 23 if we don't get search implemented before then. I took a look at the integration and it's non-trivial. There's some discussion on search, Algolia, Sphinx, and the RTD theme:
Unfortunately I don't see any discussion specific to our theme https://github.com/executablebooks/sphinx-book-theme. The Algolia email:
|
I spent a bit of time yesterday and today figuring this out and I have hit the limits of my frontend knowledge. I filed executablebooks/sphinx-book-theme#394 upstream, so hopefully some kind soul will reply there. |
Lol turns out that worked, I just needed to clear some cache. If y'all think a slightly ugly and suboptimal typeahead is a good idea, let's try it out. If not, we can put this on hold for a bit until we get some styling hints. In addition to styling, I also think we'll want to exclude the index from being crawled and searched, since it generates duplicate entries in the typeahead. |
To customize the crawling process, we can modify https://github.com/algolia/docsearch-configs/blob/master/configs/sgkit.json. Documentation for this file is at https://docsearch.algolia.com/docs/config-file/. In particular we may want to use |
https://docsearch.algolia.com/
I've already applied, they're going to send me a JS snippet to put on our site to enable indexing. We should get a nice typeahead for our search box once this goes live.
The text was updated successfully, but these errors were encountered: