This is an automated email from the ASF dual-hosted git repository. yihaochen pushed a commit to branch kapa-ai-widget-integration in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/kapa-ai-widget-integration by this push: new fcaffb78417 Add Kapa.ai to SkyWalking website fcaffb78417 is described below commit fcaffb78417d4f39dda120db448793c3cbbc7cfe Author: Superskyyy <supersk...@outlook.com> AuthorDate: Wed Dec 27 19:19:12 2023 -0500 Add Kapa.ai to SkyWalking website --- themes/docsy/layouts/partials/scripts.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/themes/docsy/layouts/partials/scripts.html b/themes/docsy/layouts/partials/scripts.html index 27f68b57ca1..073de689015 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 install agents non-intrusively,How to set sample trace rate?" +data-button-position-top="" +data-button-position-right="20px" +data-button-position-bottom="200px" +data-button-position-left="" +></script> {{ partial "hooks/body-end.html" . }}