Currently, the Algolia index runs every 2 days at 17:00. This results in a lot of unnecessary reindexing, and users may be redirected to an invalid link when searching.
So we can reindex Algolia only when the document is updated and deployed on ReadTheDocs.
ReadTheDocs deployment does not seem to be a github deployment or workflow, so I can't give the example to run after deployment.
(ReadTheDocs runs on every commit? if so, maybe add a condition, run reindex only on changes in /docs.)
Currently, the Algolia index runs every 2 days at 17:00. This results in a lot of unnecessary reindexing, and users may be redirected to an invalid link when searching.
So we can reindex Algolia only when the document is updated and deployed on ReadTheDocs.
ReadTheDocs deployment does not seem to be a github deployment or workflow, so I can't give the example to run after deployment.
(ReadTheDocs runs on every commit? if so, maybe add a condition, run reindex only on changes in
/docs
.)Github workflow example:
Where
USER_ID
andAPI_KEY
can be found in User SettingsCRAWLER_ID
can be found in Crawlers -> Crawler -> Settings.When these are done, simply delete the
schedule
pattern in Crawler Editor, as it's default tonever
.