mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
Update Docsearch configuration (#3582)
* update docsearch config * update docsearch filters
This commit is contained in:
parent
d7e013643c
commit
7bb11b2bbd
2 changed files with 6 additions and 5 deletions
|
|
@ -89,15 +89,15 @@ parasails.registerPage('basic-documentation', {
|
|||
},
|
||||
|
||||
mounted: async function() {
|
||||
|
||||
// Algolia DocSearch
|
||||
docsearch({
|
||||
apiKey: '8c492befdb9f5b5166253a0f8eeb789d',
|
||||
appId: 'NZXAYZXDGH',
|
||||
apiKey: 'f3c02b646222734376a5e94408d6fead',
|
||||
indexName: 'fleetdm',
|
||||
inputSelector: (this.isDocsLandingPage ? '#docsearch-query-landing' : '#docsearch-query'),
|
||||
debug: false,
|
||||
algoliaOptions: {
|
||||
'facetFilters': ['tags:docs']
|
||||
'facetFilters': ['section:docs']
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -25,13 +25,14 @@ parasails.registerPage('basic-handbook', {
|
|||
|
||||
// Algolia DocSearch
|
||||
docsearch({
|
||||
apiKey: '8c492befdb9f5b5166253a0f8eeb789d',
|
||||
appId: 'NZXAYZXDGH',
|
||||
apiKey: 'f3c02b646222734376a5e94408d6fead',
|
||||
indexName: 'fleetdm',
|
||||
inputSelector: '#docsearch-query',
|
||||
debug: false,
|
||||
clickAnalytics: true,
|
||||
algoliaOptions: {
|
||||
'facetFilters': ['tags:handbook']
|
||||
'facetFilters': ['section:handbook']
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue