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

monkeydluffy 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 3d870fef85d feat: integrate kapa into apisix.apache.org website (#1756)
3d870fef85d is described below

commit 3d870fef85d081d91fcac07404b6be1b6c768d9b
Author: zll600 <71714656+zll...@users.noreply.github.com>
AuthorDate: Thu Jan 11 09:25:43 2024 +0800

    feat: integrate kapa into apisix.apache.org website (#1756)
---
 blog/en/docusaurus.config.js | 12 ++++++++++++
 blog/zh/docusaurus.config.js | 13 +++++++++++++
 doc/docusaurus.config.js     | 13 +++++++++++++
 website/docusaurus.config.js | 13 +++++++++++++
 4 files changed, 51 insertions(+)

diff --git a/blog/en/docusaurus.config.js b/blog/en/docusaurus.config.js
index 83a61e7d07c..845e45d27c9 100644
--- a/blog/en/docusaurus.config.js
+++ b/blog/en/docusaurus.config.js
@@ -105,6 +105,18 @@ module.exports = {
       trackingID: 'GTM-K24PRPS',
     },
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '23b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo':
+        
'https://user-images.githubusercontent.com/52855735/62005987-53faae80-b16d-11e9-96cc-9dba3470f5b2.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?',
+    },
+  ],
   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 54a298d18da..712a3054bfb 100644
--- a/blog/zh/docusaurus.config.js
+++ b/blog/zh/docusaurus.config.js
@@ -107,6 +107,19 @@ module.exports = {
       trackingID: 'GTM-K24PRPS',
     },
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '23b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo':
+        
'https://user-images.githubusercontent.com/52855735/62005987-53faae80-b16d-11e9-96cc-9dba3470f5b2.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 ec1f63ec09f..e4a5606a402 100644
--- a/doc/docusaurus.config.js
+++ b/doc/docusaurus.config.js
@@ -280,6 +280,19 @@ module.exports = {
       trackingID: 'GTM-K24PRPS',
     },
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '23b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo':
+        
'https://user-images.githubusercontent.com/52855735/62005987-53faae80-b16d-11e9-96cc-9dba3470f5b2.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': 'What is Apache APISIX?,How to get 
started with APISIX?,How to proxy WebSocket connection?,How does Apache APISIX 
work with Keycloak?',
+      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 8a49ed8b012..d68fc57f19d 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -149,6 +149,19 @@ module.exports = {
       trackingID: 'GTM-K24PRPS',
     },
   },
+  scripts: [
+    {
+      src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
+      'data-website-id': '23b59d9a-682e-4c3d-9e83-bf2ee85cdc19',
+      'data-project-name': 'APISIX',
+      'data-project-color': '#E8442E',
+      'data-project-logo':
+        
'https://user-images.githubusercontent.com/52855735/62005987-53faae80-b16d-11e9-96cc-9dba3470f5b2.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': 'What is the APISIX?,How to contribute?',
+      async: true,
+    },
+  ],
   stylesheets: [],
   /**
    * We need to check if we build site for preview env,

Reply via email to