Search correct language and version for Docusaurus (#859)

This commit is contained in:
Endilie Yacop Sucipto 2018-07-18 17:39:04 +07:00 committed by GitHub
parent 9f718a5097
commit aa1f82649c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ const siteConfig = {
algolia: { algolia: {
... ...
algoliaOptions: { algoliaOptions: {
facetFilters: [ "lang:LANGUAGE", "version:VERSION" ] facetFilters: [ "language:LANGUAGE", "version:VERSION" ]
} }
}, },
}; };

View file

@ -37,7 +37,7 @@ const siteConfig = {
apiKey: '3eb9507824b8be89e7a199ecaa1a9d2c', apiKey: '3eb9507824b8be89e7a199ecaa1a9d2c',
indexName: 'docusaurus', indexName: 'docusaurus',
algoliaOptions: { algoliaOptions: {
facetFilters: ['lang:LANGUAGE'], facetFilters: ['language:LANGUAGE', 'version:VERSION'],
}, },
}, },
colors: { colors: {