Skip to content

Commit

Permalink
feat: algolia search (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ereburg authored Sep 7, 2024
1 parent bce6316 commit d671301
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ const config: Config = {
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
themes: ["@docusaurus/theme-mermaid"],

i18n: {
defaultLocale: "en",
locales: ["en"],
},

plugins: [
"docusaurus-plugin-sass",
async function tailwindPlugin(context, options) {
Expand Down Expand Up @@ -110,6 +109,15 @@ const config: Config = {
autoCollapseCategories: true,
},
},

algolia: {
appId: "B00UWUB92M",
apiKey: "22579656b62b7175a3070ec7c5c7039d",
indexName: "vara",
contextualSearch: true,
searchParameters: {},
searchPagePath: "search",
},
} satisfies Preset.ThemeConfig,
stylesheets: [
{
Expand Down

0 comments on commit d671301

Please sign in to comment.