Skip to content

Commit

Permalink
Merge pull request #239 from logzio/algolia3
Browse files Browse the repository at this point in the history
Algolia config
  • Loading branch information
nico-shishkin authored Nov 1, 2023
2 parents d036478 + 42bac95 commit dc75302
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,7 @@ const config = {
// 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: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
replaceSearchResultPathname: {
from: '/docs/', // or as RegExp: /\/docs\//
to: '/',
},


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

0 comments on commit dc75302

Please sign in to comment.