Skip to content

Commit

Permalink
try transformItems function
Browse files Browse the repository at this point in the history
  • Loading branch information
goodroot committed Dec 13, 2024
1 parent 5b33f82 commit 07c45c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 46 deletions.
7 changes: 6 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,15 @@ const config = {
appId: process.env.ALGOLIA_APP_ID,
apiKey: process.env.ALGOLIA_API_KEY,
indexName: "questdb",
// Disable /search page
searchPagePath: false,
contextualSearch: false,
externalUrlRegex: 'questdb\\.io',
transformItems: (items) => {
return items.map((item) => ({
...item,
isExternal: false,
}))
},
},
}
: {}),
Expand Down
45 changes: 0 additions & 45 deletions src/theme/SearchBar.tsx

This file was deleted.

0 comments on commit 07c45c2

Please sign in to comment.