From 2c6fe7d2ea49ffea8a155bd74299c9ac9bbb3321 Mon Sep 17 00:00:00 2001 From: Niraj Tolia Date: Fri, 16 Dec 2022 13:14:16 -0800 Subject: [PATCH] Add Algolia docsearch to Corso docs (#1844) ## Description This should be forever-free under Algolia's open source support. ## Does this PR need a docs update or release note? - [x] :no_entry: No ## Type of change - [x] :sunflower: Feature - [x] :world_map: Documentation ## Test Plan - [x] :muscle: Manual --- website/docusaurus.config.js | 7 +++++++ website/src/css/custom.scss | 1 + 2 files changed, 8 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 1a05fc499..ea99ddc6e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -163,6 +163,13 @@ const config = { }, }, + algolia: { + appId: 'EPJZU1WKE7', + apiKey: 'd432a94741013719fdd0d78275c7aa9c', + indexName: 'corsobackup', + contextualSearch: true, + }, + image: 'img/cloudbackup.png', metadata : [ diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 8c47605eb..4377f3c6c 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -108,6 +108,7 @@ html[data-theme='dark'] { --ifm-background-color: #111629; --ifm-navbar-background-color: #111629; --ifm-link-color: #087EA4; + --docsearch-primary-color: #5468ff; } .footer {