mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
fix(v2): DocSearch should keep working after a new release (#3393)
* We should create an alias for searching last version of docs on DocSearch/Algolia, so that on new version publish, search still works even if new version is not already indexed (https://github.com/facebook/docusaurus/issues/3391) * commit missing snapshot * update after algolia changes * put back facetFilters: [`version:${versions[0]}`] until latest facet is indexed
This commit is contained in:
parent
3ace60043b
commit
9c34f68a7a
7 changed files with 57 additions and 22 deletions
|
@ -235,6 +235,7 @@ module.exports = {
|
|||
apiKey: '47ecd3b21be71c5822571b9f59e52544',
|
||||
indexName: 'docusaurus-2',
|
||||
searchParameters: {
|
||||
// facetFilters: [`version:latest`],
|
||||
facetFilters: [`version:${versions[0]}`],
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue