From bc5499f2ecd8767d1fcf7fcdd9c57773e4763740 Mon Sep 17 00:00:00 2001 From: James Beard Date: Thu, 6 Jun 2024 11:10:16 +1000 Subject: [PATCH] Adding Algolia search config. --- docusaurus.config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 41bcc7ab..96e00519 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -66,7 +66,12 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ + { + algolia: { + appId: "7K3RMBBM3L", + apiKey: "9980d437c715b44d59f74141fa0a0161", + indexName: "turfjs", + }, // Replace with your project's social card image: "img/docusaurus-social-card.jpg", navbar: { @@ -149,7 +154,7 @@ const config = { theme: prismThemes.github, darkTheme: prismThemes.dracula, }, - }), + }, }; export default config;