This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new be0ed1dae1d feat: add kapa ai (#1935)
be0ed1dae1d is described below

commit be0ed1dae1da9f4388f554c877047ad5648a4d45
Author: Qi Guo <[email protected]>
AuthorDate: Wed Jul 16 20:39:00 2025 +0800

    feat: add kapa ai (#1935)
---
 blog/en/docusaurus.config.js | 12 ++++++++++++
 blog/zh/docusaurus.config.js | 12 ++++++++++++
 doc/docusaurus.config.js     | 12 ++++++++++++
 website/docusaurus.config.js | 12 ++++++++++++
 4 files changed, 48 insertions(+)

diff --git a/blog/en/docusaurus.config.js b/blog/en/docusaurus.config.js
index 85b0e040488..f3a28cd034a 100644
--- a/blog/en/docusaurus.config.js
+++ b/blog/en/docusaurus.config.js
@@ -105,6 +105,18 @@ module.exports = {
     image: 'https://static.apiseven.com/202202/apache-apisix.png',
     metadatas,
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '24b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo': 
'https://static.apiseven.com/202202/apache-apisix.png',
+      'data-modal-disclaimer': 'This is a custom LLM for APISIX with access to 
all developer documentation, GitHub issues and discussions.',
+      'data-modal-example-questions': 'Why we need APISIX?,How to deploy 
APISIX?,How to manage API Observability in APISIX?,How to proxy GraphQL 
requests?',
+      async: true,
+    },
+  ],
   stylesheets: [],
   /**
    * We need to check if we build site for preview env,
diff --git a/blog/zh/docusaurus.config.js b/blog/zh/docusaurus.config.js
index 57cc2b6ec58..85c1e87fd14 100644
--- a/blog/zh/docusaurus.config.js
+++ b/blog/zh/docusaurus.config.js
@@ -107,6 +107,18 @@ module.exports = {
     image: 'https://static.apiseven.com/202202/apache-apisix.png',
     metadatas,
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '24b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo': 
'https://static.apiseven.com/202202/apache-apisix.png',
+      'data-modal-disclaimer': 'This is a custom LLM for APISIX with access to 
all developer documentation, GitHub issues and discussions.',
+      'data-modal-example-questions': 'Why we need APISIX?,How to deploy 
APISIX?,How to manage API Observability in APISIX?,How to proxy GraphQL 
requests?',
+      async: true,
+    },
+  ],
   stylesheets: [],
   /**
    * We need to check if we build site for preview env,
diff --git a/doc/docusaurus.config.js b/doc/docusaurus.config.js
index 737445bc67e..7825282d275 100644
--- a/doc/docusaurus.config.js
+++ b/doc/docusaurus.config.js
@@ -274,6 +274,18 @@ module.exports = {
       },
     ],
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '24b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo': 
'https://static.apiseven.com/202202/apache-apisix.png',
+      'data-modal-disclaimer': 'This is a custom LLM for APISIX with access to 
all developer documentation, GitHub issues and discussions.',
+      'data-modal-example-questions': 'Why we need APISIX?,How to deploy 
APISIX?,How to manage API Observability in APISIX?,How to proxy GraphQL 
requests?',
+      async: true,
+    },
+  ],
   stylesheets: [],
   /**
    * We need to check if we build site for preview env,
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 3083df0cb0d..8614c27a8c0 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -147,6 +147,18 @@ module.exports = {
       },
     ],
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '24b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo': 
'https://static.apiseven.com/202202/apache-apisix.png',
+      'data-modal-disclaimer': 'This is a custom LLM for APISIX with access to 
all developer documentation, GitHub issues and discussions.',
+      'data-modal-example-questions': 'Why we need APISIX?,How to deploy 
APISIX?,How to manage API Observability in APISIX?,How to proxy GraphQL 
requests?',
+      async: true,
+    },
+  ],
   stylesheets: [],
   /**
    * We need to check if we build site for preview env,

Reply via email to