mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
enable algolia search
This commit is contained in:
parent
f62f2e8025
commit
f185959bef
@ -124,6 +124,29 @@ const config = {
|
|||||||
autoCollapseCategories: true,
|
autoCollapseCategories: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
algolia: {
|
||||||
|
// The application ID provided by Algolia
|
||||||
|
appId: 'CO73R59OLO',
|
||||||
|
|
||||||
|
// Public API key: it is safe to commit it
|
||||||
|
apiKey: '489572e91d0a750d34c127c2071ef962',
|
||||||
|
|
||||||
|
indexName: 'zrok',
|
||||||
|
|
||||||
|
// Optional: see doc section below
|
||||||
|
contextualSearch: true,
|
||||||
|
|
||||||
|
// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
|
||||||
|
// externalUrlRegex: 'external\\.example\\.com|thirdparty\\.example\\.com',
|
||||||
|
|
||||||
|
// Optional: Algolia search parameters
|
||||||
|
searchParameters: {},
|
||||||
|
|
||||||
|
// Optional: path for search page that enabled by default (`false` to disable it)
|
||||||
|
searchPagePath: 'search',
|
||||||
|
|
||||||
|
//... other Algolia params
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user