Skip to content

Commit

Permalink
Merge pull request #1847 from gettakaro/add-search-functionality-to-docs
Browse files Browse the repository at this point in the history
Add search functionality to docs
  • Loading branch information
niekcandaele authored Dec 15, 2024
2 parents a724a24 + a6bcb51 commit 40d647f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/web-docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ const config: Config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
algolia: {
// The application ID provided by Algolia
appId: 'EGKNUF24JA',
// Public API key: it is safe to commit it
apiKey: 'c346de81a50d15e8653e738f76871c15',
indexName: 'takaro',
// Optional: see doc section below
contextualSearch: true,
// Optional: Algolia search parameters
searchParameters: {},
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: 'search',
// Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
insights: true,
},
} satisfies Preset.ThemeConfig,
};

Expand Down

0 comments on commit 40d647f

Please sign in to comment.