You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/12/28 02:36:18 UTC

(skywalking-website) branch master updated: Add Kapa.ai to SkyWalking Website (#667)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6644d0f7bfa Add Kapa.ai to SkyWalking Website (#667)
6644d0f7bfa is described below

commit 6644d0f7bfa94aa1b5bdc22a63989fbe52101bd7
Author: Superskyyy (Back) <Su...@outlook.com>
AuthorDate: Wed Dec 27 21:36:12 2023 -0500

    Add Kapa.ai to SkyWalking Website (#667)
---
 README.md                                  | 10 ++++++++--
 themes/docsy/layouts/partials/scripts.html | 17 +++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 71b52bbebd8..6d7b00fa52a 100755
--- a/README.md
+++ b/README.md
@@ -21,11 +21,17 @@ This site uses [Hugo](https://gohugo.io) to organize and manage content with the
 
 Located at `content/_index.html`。
 
-### Projects and Document
+### Projects and Documentation
 
 The data of documentation link is located in `data/docs.yml` and formated as `YAML`.
 
-Update the [config file](https://github.com/algolia/docsearch-configs/blob/master/configs/skywalking.json) everytime in order that a new documentation version will be available searched by [algolia](https://www.algolia.com/).
+#### Search Engine
+Update the [config file](https://github.com/algolia/docsearch-configs/blob/master/configs/skywalking.json) everytime, so that a new documentation version will be available searched by [algolia](https://www.algolia.com/).
+
+#### AI Docs Q&A
+Release managers of SkyWalking projects should use the Kapa.ai [dashboard](https://app.kapa.ai/) to sync and ingest new documentation/blogs/FAQs if needed, or set up automatic refresh (crawling) of the Q&A sources.
+
+If you need access to the dashboard, contact @superskyyy for an invitation.
 
 ### Event
 
diff --git a/themes/docsy/layouts/partials/scripts.html b/themes/docsy/layouts/partials/scripts.html
index 27f68b57ca1..792c65d5c6e 100644
--- a/themes/docsy/layouts/partials/scripts.html
+++ b/themes/docsy/layouts/partials/scripts.html
@@ -20,4 +20,21 @@
     window.onload = () => mermaid.init(undefined, ".language-mermaid");
 </script>
 
+<!--Note the 200px position-botton is to leave room for website event popups -->
+<script defer
+src="https://widget.kapa.ai/kapa-widget.bundle.js"
+data-website-id="8a08392b-9c4d-4816-8bc4-f93e0ecdd2a7"
+data-project-name="SkyWalking"
+data-project-color="#2B74B8"
+data-button-text="Ask AI"
+data-search-mode-enabled="true"
+data-modal-open-on-command-k="true"
+data-modal-disclaimer="The AI supports multiple languages, but it may not be accessible in China, a proxy is required."
+data-project-logo="https://miro.medium.com/v2/resize:fit:2400/0*kmS-5BQ8ShAhZ_F4.jpg"
+data-modal-example-questions="What is Apache SkyWalking?,How to deploy SkyWalking?,How to inject agents non-intrusively?,How to setup trace sampling?"
+data-button-position-top=""
+data-button-position-right="20px"
+data-button-position-bottom="200px"
+data-button-position-left=""
+></script>
 {{ partial "hooks/body-end.html" . }}