From ca91604ce2cea02fced175a40647194eadb94a75 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Sun, 2 Oct 2022 17:47:49 +0400 Subject: [PATCH] disable algolia search --- packages/website/docusaurus.config.js | 33 ++++++++++++++------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/website/docusaurus.config.js b/packages/website/docusaurus.config.js index 1f712dab..ffcb1e85 100644 --- a/packages/website/docusaurus.config.js +++ b/packages/website/docusaurus.config.js @@ -52,29 +52,30 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - algolia: { - // The application ID provided by Algolia - appId: "KBED3M1CMD", + // TODO - disabled until we fix algolia search + // algolia: { + // // The application ID provided by Algolia + // appId: "KBED3M1CMD", - // Public API key: it is safe to commit it - apiKey: "c61bc7603893cf287ed6971983af8bad", + // // Public API key: it is safe to commit it + // apiKey: "c61bc7603893cf287ed6971983af8bad", - indexName: "squiggle_docs", + // indexName: "squiggle_docs", - // Optional: see doc section below - contextualSearch: true, + // // 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: 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: Algolia search parameters - searchParameters: {}, + // // Optional: Algolia search parameters + // searchParameters: {}, - // Optional: path for search page that enabled by default (`false` to disable it) - searchPagePath: "search", + // // Optional: path for search page that enabled by default (`false` to disable it) + // searchPagePath: "search", - //... other Algolia params - }, + // //... other Algolia params + // }, navbar: { title: "Squiggle", hideOnScroll: true,