You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/10/12 00:21:35 UTC
(grails-static-website) branch kapa-ai-widget created (now ae97e2c04f6)
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch kapa-ai-widget
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
at ae97e2c04f6 Add Kapa AI assistant widget to document.html
This branch includes the following new commits:
new ae97e2c04f6 Add Kapa AI assistant widget to document.html
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(grails-static-website) 01/01: Add Kapa AI assistant widget to document.html
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch kapa-ai-widget
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
commit ae97e2c04f677371be828db536927008becfe8f5
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Sat Oct 11 20:21:27 2025 -0400
Add Kapa AI assistant widget to document.html
Integrated the Kapa AI assistant widget by adding its script tag with relevant configuration attributes to the document.html template. This provides users with an AI-powered assistant for Apache Grails documentation.
---
templates/document.html | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/templates/document.html b/templates/document.html
index cded23357c1..38a5053a671 100644
--- a/templates/document.html
+++ b/templates/document.html
@@ -50,6 +50,28 @@
})();
</script>
<!-- End Matomo Code -->
+
+ <script
+ async
+ src="https://widget.kapa.ai/kapa-widget.bundle.js"
+ data-website-id="d804a9f2-51a2-414c-97f7-12f2a1ba4609"
+ data-project-name="Apache Grails"
+ data-project-color="#3F4346"
+ data-font-family="system-ui,-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,Segoe UI,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;"
+ data-project-logo="https://grails.apache.org/images/grails.png"
+ data-modal-override-open-id="ask-ai-input"
+ data-modal-override-open-class="search-input"
+ data-user-analytics-fingerprint-enabled="true"
+ data-modal-title="Apache Grails AI Assistant"
+ data-modal-example-questions-title="Try asking me..."
+ data-modal-disclaimer="This is a custom LLM for Apache Grails using [documentation](https://docs.grails.org/latest/), [groovy documentation](https://docs.groovy-lang.org/docs/groovy-4.0.28/html/documentation/) [github issues](https://github.com/apache/grails-core/issues) and more.\n\nCompanies deploy assistants like this [](https://kapa.ai) on docs via [website widget](https://docs.kapa.ai/integrations/website-widget) (Docker, Reddit), in [support forms](https://docs.kapa.ai/inte [...]
+ data-modal-example-questions="How does database migration work?,How does Spring Security work?"
+ data-button-text-color="#FBB576"
+ data-modal-header-bg-color="#FFFFFF"
+ data-modal-title-color="#FBB576"
+ data-consent-required="true"
+ data-consent-screen-disclaimer="By clicking "I agree, let's chat", you consent to the use of the AI assistant in accordance with kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This service uses reCAPTCHA, which requires your consent to Google's [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms). By proceeding, you explicitly agree to both kapa.ai's and Google's priv [...]
+ ></script>
</head>
<body>
<header class='mainheader'>