mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
Merge pull request #213 from openziti/search-algolia
enable algolia search
This commit is contained in:
commit
cc1c7afe57
@ -9,7 +9,7 @@ const config = {
|
||||
title: 'Zrok',
|
||||
staticDirectories: ['static', '../docs/images'],
|
||||
tagline: 'Globally distributed reverse proxy',
|
||||
url: 'https://zrok.io',
|
||||
url: 'https://docs.zrok.io',
|
||||
baseUrl: '/',
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
@ -124,6 +124,29 @@ const config = {
|
||||
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