docs: Algolia plugin must be enabled before crawling the site (#5658)

This commit is contained in:
Sébastien Lorber 2021-10-07 17:00:47 +02:00 committed by GitHub
parent eaacb0e98a
commit 7b64e85dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,14 @@ The `searchParameters` option used to be named `algoliaOptions` in Docusaurus v1
:::
:::caution
The search feature will not work reliably until Algolia crawls your site with the **search plugin enabled**.
If you are installing the Algolia plugin for the first time and want to ensure the search feature works before deploying it to production, you can ask the DocSearch team to trigger a crawl on a staging environment url or deploy preview.
:::
### Contextual search {#contextual-search}
Contextual search is mostly useful for versioned Docusaurus sites.