From b4cc233b2b1ba0d9c66fd5595b1a43d6db01e0ac Mon Sep 17 00:00:00 2001 From: Vedant Shrotria <40681425+Jonsy13@users.noreply.github.com> Date: Fri, 20 Aug 2021 13:41:29 +0530 Subject: [PATCH] Added DocSearch Algolia. (#111) * Added DocSearch Algolia. Signed-off-by: Jonsy13 --- website/docs/user-guides/editing-queries-app-dashboard.md | 2 +- website/docs/user-guides/setup-without-ingress.md | 2 +- website/docusaurus.config.js | 5 +++++ website/package.json | 1 + .../user-guides/editing-queries-app-dashboard.md | 2 +- .../version-2.0.0/user-guides/setup-without-ingress.md | 2 +- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/website/docs/user-guides/editing-queries-app-dashboard.md b/website/docs/user-guides/editing-queries-app-dashboard.md index 1d3bf30..45cd1fa 100644 --- a/website/docs/user-guides/editing-queries-app-dashboard.md +++ b/website/docs/user-guides/editing-queries-app-dashboard.md @@ -8,7 +8,7 @@ sidebar_label: Editing Panel Queries ## Before you begin -In order to edit the queries, you must first have a [data source](configure-datasource.md) connected and a configured [dashboard](manage-app-dashboard#create-dashboard.md). +In order to edit the queries, you must first have a [data source](configure-datasource.md) connected and a configured [dashboard](manage-app-dashboard.md#create-dashboard). --- diff --git a/website/docs/user-guides/setup-without-ingress.md b/website/docs/user-guides/setup-without-ingress.md index d6a7276..fbb53bd 100644 --- a/website/docs/user-guides/setup-without-ingress.md +++ b/website/docs/user-guides/setup-without-ingress.md @@ -8,7 +8,7 @@ sidebar_label: Setup without Ingress ## Prerequisites -Before setting up endpoint with Ingress make sure the [Litmus ChaosCenter](../getting-started/resources.md#chaoscenter) is installed in either one of these scopes +Before setting up endpoint without Ingress make sure the [Litmus ChaosCenter](../getting-started/resources.md#chaoscenter) is installed in either one of these scopes - [Cluster Scope](chaoscenter-cluster-scope-installation.md) - [Namespace Scope](chaoscenter-namespace-scope-installation.md) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index cf3cd14..702a616 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -46,6 +46,11 @@ module.exports = { organizationName: 'litmuschaos', projectName: 'litmus', themeConfig: { + algolia: { + apiKey: '7af78d639b7342f7da38c5c5c51993b0', + indexName: 'litmuschaos', + contextualSearch: true + }, navbar: { title: 'Litmus Docs', logo: { diff --git a/website/package.json b/website/package.json index a3a5e4a..ee3b05b 100644 --- a/website/package.json +++ b/website/package.json @@ -14,6 +14,7 @@ "dependencies": { "@docusaurus/core": "2.0.0-beta.3", "@docusaurus/preset-classic": "2.0.0-beta.3", + "@docusaurus/theme-search-algolia": "^2.0.0-beta.3", "@mdx-js/react": "^1.5.8", "clsx": "^1.1.1", "react": "^16.8.4", diff --git a/website/versioned_docs/version-2.0.0/user-guides/editing-queries-app-dashboard.md b/website/versioned_docs/version-2.0.0/user-guides/editing-queries-app-dashboard.md index 1d3bf30..45cd1fa 100644 --- a/website/versioned_docs/version-2.0.0/user-guides/editing-queries-app-dashboard.md +++ b/website/versioned_docs/version-2.0.0/user-guides/editing-queries-app-dashboard.md @@ -8,7 +8,7 @@ sidebar_label: Editing Panel Queries ## Before you begin -In order to edit the queries, you must first have a [data source](configure-datasource.md) connected and a configured [dashboard](manage-app-dashboard#create-dashboard.md). +In order to edit the queries, you must first have a [data source](configure-datasource.md) connected and a configured [dashboard](manage-app-dashboard.md#create-dashboard). --- diff --git a/website/versioned_docs/version-2.0.0/user-guides/setup-without-ingress.md b/website/versioned_docs/version-2.0.0/user-guides/setup-without-ingress.md index d6a7276..fbb53bd 100644 --- a/website/versioned_docs/version-2.0.0/user-guides/setup-without-ingress.md +++ b/website/versioned_docs/version-2.0.0/user-guides/setup-without-ingress.md @@ -8,7 +8,7 @@ sidebar_label: Setup without Ingress ## Prerequisites -Before setting up endpoint with Ingress make sure the [Litmus ChaosCenter](../getting-started/resources.md#chaoscenter) is installed in either one of these scopes +Before setting up endpoint without Ingress make sure the [Litmus ChaosCenter](../getting-started/resources.md#chaoscenter) is installed in either one of these scopes - [Cluster Scope](chaoscenter-cluster-scope-installation.md) - [Namespace Scope](chaoscenter-namespace-scope-installation.md)