Add Algolia DocSearch to a Cecil website.
Installation
composer require cecil/theme-docsearch
Configuration
theme:
- docsearch
docsearch:
appId: <YOUR_APP_ID>
apiKey: <YOUR_SEARCH_API_KEY>
indexName: <YOUR_INDEX_NAME>
Templates
{# in <head> #}
{{ include('partials/docsearch/head.html.twig') }}
{# where the search button should be displayed #}
{{ include('partials/docsearch.html.twig') }}