From e897422541d3e874eb414117ca9ba9f1dd336fc9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 30 May 2022 16:51:45 +0200 Subject: [PATCH] chore: make docs searchable (#3734) * chore: make docs searchable * Update netlify.toml --- docs/docusaurus.config.js | 9 +++------ docs/netlify.toml | 7 ------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index cc66128412..1bf7237d95 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -146,12 +146,9 @@ module.exports = { copyright: `Copyright © ${new Date().getFullYear()} ZITADEL Docs - Built with Docusaurus.`, }, algolia: { - appId: "1FD5EU44EF", - apiKey: "2ddc6c35930ec608baf832bf07b5e150", - siteId: '13929a6d-0c07-4205-af9b-42121333ec5d', - branch: 'v2-alpha-readme', - indexName: 'netlify_13929a6d-0c07-4205-af9b-42121333ec5d_v2-alpha-readme_all', - contextualSearch: false, + appId: "8H6ZKXENLO", + apiKey: "124fe1c102a184bc6fc70c75dc84f96f", + indexName: 'zitadel', selector: 'div#' }, prism: { diff --git a/docs/netlify.toml b/docs/netlify.toml index 1db57da67e..5a8c5cd91c 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,13 +1,6 @@ [build] command = "npm run build" -[[plugins]] -package = "@algolia/netlify-plugin-crawler" - [plugins.inputs] - branches = ['v2-alpha', 'v2', 'v2-alpha-readme'] - renderJavaScript = false - template = "hierarchical" - [[redirects]] from = "/proxy/js/script.js" to = "https://plausible.io/js/plausible.js"