Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,30 @@ const config = {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
//Algolio docsearch support
algolia: {
// The application ID provided by Algolia
appId: '${{ secrets.ALGOLIA_API_ID }}',

// Public API key: it is safe to commit it
apiKey: '${{ secrets.ALGOLIA_API_KEY }}',

indexName: 'stacks',

// 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\\.com|domain\\.com',

// Optional: Algolia search parameters
//searchParameters: {},

// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: 'search',

//... other Algolia params
},
}),

plugins: [
Expand Down