Skip to content

feat: integrate kapa.ai "Ask AI" widget - #1131

Merged
yu199195 merged 1 commit into
apache:mainfrom
dengliming:feat/kapa-ask-ai
Sep 11, 2026
Merged

yu199195 merged 1 commit into
apache:mainfrom
dengliming:feat/kapa-ask-ai

Conversation

@dengliming

Copy link
Copy Markdown
Member

Add a local Docusaurus plugin that injects the kapa.ai website widget with locale-aware UI copy (en/zh), dark-mode sync with the Docusaurus theme toggle, Cmd/Ctrl+K shortcut, and analytics cookies/fingerprinting disabled. Styled with the ShenYu brand orange and site favicon.

Add static/.htaccess to override the default ASF Content-Security-Policy so the widget script, proxy, and bot-protection domains are allowed.

image image

Add a local Docusaurus plugin that injects the kapa.ai website widget
with locale-aware UI copy (en/zh), dark-mode sync with the Docusaurus
theme toggle, Cmd/Ctrl+K shortcut, and analytics cookies/fingerprinting
disabled. Styled with the ShenYu brand orange and site favicon.

Add static/.htaccess to override the default ASF Content-Security-Policy
so the widget script, proxy, and bot-protection domains are allowed.
@Antonkapa

Copy link
Copy Markdown
Contributor

Hi @dengliming,

Anton from the kapa team here! This looks great! Anything I can do to help?

@dengliming

Copy link
Copy Markdown
Member Author

@Antonkapa Thank you. We need to wait for the team's approval to merge the PR.

@yu199195
yu199195 merged commit c415d6f into apache:main Sep 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants