From dd160038acaefe4416fef75b1c783172a837754a Mon Sep 17 00:00:00 2001 From: Sarmad Qadri Date: Fri, 10 Nov 2023 09:04:39 -0500 Subject: [PATCH] [Docs] Simplify algolia search config --- aiconfig-docs/docusaurus.config.js | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/aiconfig-docs/docusaurus.config.js b/aiconfig-docs/docusaurus.config.js index f5d49f99a..f34efe0d3 100644 --- a/aiconfig-docs/docusaurus.config.js +++ b/aiconfig-docs/docusaurus.config.js @@ -169,28 +169,9 @@ const config = { }, algolia: { appId: "MXLMDZIH1G", - apiKey: "ed56ae054b0f8ac02ef281e34584cc3c", + apiKey: "63a53b045dfcdc2b7b4319d4d67a1edb", indexName: "aiconfig", - - // Optional: see doc section below contextualSearch: true, - - // Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them. - //externalUrlRegex: "external\\.com|domain\\.com", - - // Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs - replaceSearchResultPathname: { - from: "/docs/", // or as RegExp: /\/docs\// - to: "/", - }, - - // Optional: Algolia search parameters - searchParameters: {}, - - // Optional: path for search page that enabled by default (`false` to disable it) - searchPagePath: "search", - - //... other Algolia params }, }), };