From 648c20aef96c3277ba873dbefa1bbf8822c3f875 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 20 Jun 2024 14:49:36 -0700 Subject: [PATCH] docs - add algolia search --- docs/my-website/docusaurus.config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/my-website/docusaurus.config.js b/docs/my-website/docusaurus.config.js index b500bd0a5dc..f367f4035cc 100644 --- a/docs/my-website/docusaurus.config.js +++ b/docs/my-website/docusaurus.config.js @@ -38,9 +38,6 @@ const config = { disableInDev: false, }, ], - [ require.resolve('docusaurus-lunr-search'), { - languages: ['en'] // language codes - }], () => ({ name: 'cripchat', injectHtmlTags() { @@ -90,6 +87,15 @@ const config = { ({ // Replace with your project's social card image: 'img/docusaurus-social-card.png', + algolia: { + // The application ID provided by Algolia + appId: 'NU85Y4NU0B', + + // Public API key: it is safe to commit it + apiKey: '4e0cf8c3020d0c876ad9174cea5c01fb', + + indexName: 'litellm', + }, navbar: { title: '🚅 LiteLLM', items: [