mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
feat(v2): contextual search, dynamic Algolia facetFilters (#3550)
* POC of contextual search dynamic filters * fix useSearchTags bugs * contextual search should use preferred version (persisted in storage) * Contextual search: make system decoupled from algolia + wire proper meta tags and facet filters * rework doc tag + minor refactorings * update snapshots * polish contextual search * add Algolia validateThemeConfig tests
This commit is contained in:
parent
d23940c9c3
commit
21264f5ed0
21 changed files with 468 additions and 138 deletions
|
@ -249,8 +249,9 @@ module.exports = {
|
|||
algolia: {
|
||||
apiKey: '47ecd3b21be71c5822571b9f59e52544',
|
||||
indexName: 'docusaurus-2',
|
||||
// contextualSearch: true,
|
||||
searchParameters: {
|
||||
facetFilters: [`version:latest`],
|
||||
facetFilters: [`version:current`],
|
||||
},
|
||||
},
|
||||
navbar: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue