Closed ronaldtse closed 5 years ago
just in case, for an individual project it’s enough to just provide API key and index name to configure site with, and if Algolia initialization code is changing then that should probably be filed against jekyll-theme-open-project.
(if you copy/paste Algolia’s copy then no problem of course)
rnpgp.com has been approved at Algolia Docsearch.
Add a search input in your page if you don't have any yet. Then update the inputSelector value in JS snippet to a CSS selector that targets your search input field.
Optionally customize the look and feel by following the DocSearch documentation (https://community.algolia.com/docsearch/styling.html)
You can also check your configuration in our github repo (https://github.com/algolia/docsearch-configs/blob/master/configs/rnpgp.json).
Please open a pull request if want to leverage your configuration!