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

liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d703f7eae [feature] add Kapa widget script to docusaurus 
configuration (#3938)
6d703f7eae is described below

commit 6d703f7eaea9ec31194a504511476e2d63fd0100
Author: Logic <[email protected]>
AuthorDate: Wed Dec 31 10:30:49 2025 +0800

    [feature] add Kapa widget script to docusaurus configuration (#3938)
---
 home/docusaurus.config.js | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/home/docusaurus.config.js b/home/docusaurus.config.js
index 9d815e3836..bdc6d58322 100644
--- a/home/docusaurus.config.js
+++ b/home/docusaurus.config.js
@@ -279,7 +279,7 @@ module.exports = {
       },
       copyright:
         `
-        <div style="text-align: left;margin-top:20px">         
+        <div style="text-align: left;margin-top:20px">
           <a href="https://apache.org/"; style="display: flex; align-items: 
center; justify-content:center">
             <img src="/img/icons/asf_logo.svg" alt="Apache logo" 
style="width:auto;height:140px">
           </a>
@@ -399,5 +399,15 @@ module.exports = {
       },
     ],
   ],
-  themes: ['@docusaurus/theme-live-codeblock']
+  themes: ['@docusaurus/theme-live-codeblock'],
+  scripts: [
+    {
+      src: "https://widget.kapa.ai/kapa-widget.bundle.js";,
+      "data-website-id": "cb9dd0e9-5736-4572-be75-fd2ebe7443b0",
+      "data-project-name": "Apache HertzBeat",
+      "data-project-color": "#444FD9",
+      "data-project-logo": 
"https://hertzbeat.apache.org/zh-cn/assets/files/hertzbeat-logo-f92c500146ae43b9cb901600cd274d67.png";,
+      async: true,
+    },
+  ],
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to