-
Notifications
You must be signed in to change notification settings - Fork 966
Description
Wondering if this project would be interested in offering support for an alternative search - Algolia DocSearch is free for public documentation projects and is an easy to implement alternative to Google GCSE which is not ad-supported.
You basically just sent a request to Algolia to be added to the program, and (if accepted) they email you back some Javascript code which you add to the head end and body end.
To get this working in my project I ended up adding a new config parameter to config.toml and then overriding the search-input partial in my own project. However, I think the same end result could be achieved by just adding an additional with statement to Docsy's search-input partial?
Also I wasn't able to get Algolia's search working with the Search box on the left nav/sidebar so I disabled this in config.toml but it works fine on the top nav search box.
You can see the changes I made to get this working (after getting the Javascript code for my site from Algolia) in this PR https://github.com/Axway/axway-open-docs/pull/113
You can see the end result and try out the Algolia search here https://axway-open-docs.netlify.com/
If there's interest I'd be happy to submit a PR to this project with the needed changes/doc.