Skip to content

Commit

Permalink
feat(Search): Disable contextual search
Browse files Browse the repository at this point in the history
This commit updates the `docusaurus.config.ts` file to disable contextual search by setting the `contextualSearch` property to `false`. This change was made to improve the user experience and prevent unintended navigation when using Algolia search.
  • Loading branch information
BillChirico committed Nov 16, 2023
1 parent b307401 commit 3676826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const config: Config = {
indexName: 'apollo-volvox',

// Optional: see doc section below
contextualSearch: true,
contextualSearch: false,

// 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: 'apollo.volvox\\.tech',
Expand Down

0 comments on commit 3676826

Please sign in to comment.