From 4def008db13bdc274d73d41fa5151d1e11cc62b7 Mon Sep 17 00:00:00 2001 From: Eneko Fernandez Date: Wed, 25 Oct 2023 15:55:04 +0100 Subject: [PATCH] generate sitemap injecting ALGOLIA_API_KEY --- website/docusaurus.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index f54e47d99f..3f1ffd8ddc 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -62,7 +62,6 @@ module.exports = { ], ], themeConfig: { - metadata: [{ name: "robots", content: "noindex, nofollow" }], navbar: { title: "Weave GitOps", logo: { @@ -162,7 +161,7 @@ module.exports = { }, algolia: { appId: "Z1KEXCDHZE", - apiKey: "c90c5ade2802df8213d6ac50cf3632f4", + apiKey: process.env.ALGOLIA_API_KEY, indexName: "weave", // Needed to handle the different versions of docs contextualSearch: true,