Skip to content

Commit

Permalink
Merge pull request #25 from Produkt/algolia
Browse files Browse the repository at this point in the history
Add Algolia search module to our Guides
  • Loading branch information
victorBaro authored Oct 4, 2024
2 parents 829b41d + ba1fb2e commit 3118d55
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,29 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
algolia: {
// The application ID provided by Algolia
appId: "5C0JC51MM9",

// Public API key: it is safe to commit it
apiKey: "63d123a26581b9d7e710192b1de4e8d8",

indexName: "guides",

// 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: false,

//... other Algolia params
},
}),
};

Expand Down

0 comments on commit 3118d55

Please sign in to comment.