From c1781b335ac9ce8675c9f357a380d14a7a4d2594 Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Fri, 20 Jun 2025 07:44:43 +0530 Subject: [PATCH] add kapa ai integration --- astro.config.mjs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index ffae4d8b..aeef1107 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -37,6 +37,21 @@ export default defineConfig({ title: 'Docs', favicon: '/images/favicons/favicon.ico', customCss: ['./src/styles/global.css'], + head: [ + { + tag: 'script', + attrs: { + async: true, + src: 'https://widget.kapa.ai/kapa-widget.bundle.js', + 'data-website-id': '3dfbd0ac-9e56-4664-8315-032e17917ab6', + 'data-project-name': 'LocalStack', + 'data-project-color': '#281763', + 'data-project-logo': 'https://avatars.githubusercontent.com/u/28732122?s=280&v=4', + 'data-user-analytics-fingerprint-enabled': 'true', + 'data-modal-disclaimer': 'This is a custom LocalStack LLM to help you find the information you need by searching across all LocalStack documentation. Give it a try and let us know what you think!', + }, + }, + ], social: [ { icon: 'github',