From f9d99c06d89fead2f46310998961d1bb1f055117 Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Fri, 10 Nov 2023 15:23:35 -0500 Subject: [PATCH] Need values here for local builds --- .env.example | 6 +++--- docusaurus.config.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index fad15db8a..6191fa545 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ NEXT_PUBLIC_BASE_PATH='' -NEXT_PUBLIC_DOCSEARCH_APP_ID=R2IYF7ETH7 -NEXT_PUBLIC_DOCSEARCH_API_KEY=599cec31baffa4868cae4e79f180729b -NEXT_PUBLIC_DOCSEARCH_INDEX_NAME=docsearch +NEXT_PUBLIC_DOCSEARCH_APP_ID=QRIAHGML9Q +NEXT_PUBLIC_DOCSEARCH_API_KEY=57d6a376a3528866784a143809cc7427 +NEXT_PUBLIC_DOCSEARCH_INDEX_NAME=tezosdocs diff --git a/docusaurus.config.js b/docusaurus.config.js index c1e5dfb1c..4349919b9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -100,10 +100,10 @@ const config = { }, algolia: { // The application ID provided by Algolia - appId: process.env.NEXT_PUBLIC_DOCSEARCH_APP_ID, + appId: process.env.NEXT_PUBLIC_DOCSEARCH_APP_ID || "QRIAHGML9Q", // Public API key: it is safe to commit it - apiKey: process.env.NEXT_PUBLIC_DOCSEARCH_API_KEY, - indexName: process.env.NEXT_PUBLIC_DOCSEARCH_INDEX_NAME, + apiKey: process.env.NEXT_PUBLIC_DOCSEARCH_API_KEY || "57d6a376a3528866784a143809cc7427", + indexName: process.env.NEXT_PUBLIC_DOCSEARCH_INDEX_NAME || "tezosdocs", // 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.