Skip to content

Add Kapa AI for 8.3 - #1174

Merged
rasika-chivate merged 3 commits into
8.3from
Add-Kapa-AI-for-8.3
Aug 24, 2026
Merged

Add Kapa AI for 8.3#1174
rasika-chivate merged 3 commits into
8.3from
Add-Kapa-AI-for-8.3

Conversation

@rasika-chivate

Copy link
Copy Markdown
Collaborator

No description provided.

@rasika-chivate
rasika-chivate temporarily deployed to Add-Kapa-AI-for-8.3 - psmdb-docs PR #1174 August 21, 2026 06:32 — with Render Destroyed
@rasika-chivate
rasika-chivate temporarily deployed to Add-Kapa-AI-for-8.3 - psmdb-docs-8.3 PR #1174 August 21, 2026 06:32 — with Render Destroyed
@rasika-chivate
rasika-chivate requested review from alina-derkach-oaza and nastena1606 and a lite review from Copilot August 21, 2026 06:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces the Kapa AI widget into the Percona Server for MongoDB 8.3 docs site by adding a custom “Ask Percona AI” button, widget initialization, and supporting styles, plus a new Legal Notice page and a small template adjustment for Osano script placement in PDF builds.

Changes:

  • Add Kapa AI assets (JS/CSS) and wire them into the MkDocs build.
  • Add a Legal Notice page referenced by the AI widget disclaimer.
  • Adjust PDF override template script block placement for Osano.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
mkdocs-base.yml Adds Kapa CSS/JS to MkDocs assets list (also currently still references a deleted CSS file).
docs/legal-notice.md New legal notice content for the AI chatbot.
docs/js/kapa.js Injects “Ask Percona AI” button and loads/configures Kapa widget script.
docs/css/kapa.css Styles the new AI button for desktop and mobile.
docs/css/percona.css Removed legacy stylesheet (file deleted).
docs/css/landing.css Removed landing page stylesheet (file deleted).
_resourcepdf/overrides/main.html Updates Osano script inclusion within the scripts block for PDF builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread mkdocs-base.yml
Comment on lines 71 to +75
- css/osano.css
- css/mongodb.css
- css/landing.css
- css/rating.css
- css/kapa.css
Comment thread docs/js/kapa.js
Comment on lines +15 to +21
button.id = "ask-percona-ai";
button.type = "button";

button.innerHTML = `
<span class="percona-star">✨</span>
<span class="percona-text">Ask Percona AI</span>
`;
Comment thread docs/js/kapa.js
Comment on lines +67 to +70
script.setAttribute(
"font-size",
"0.875rem"
);
Comment on lines +9 to +12
{% block scripts %}
{{ super() }}
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
{% endblock %}
@rasika-chivate
rasika-chivate merged commit 6ff890a into 8.3 Aug 24, 2026
1 check passed
@rasika-chivate
rasika-chivate deleted the Add-Kapa-AI-for-8.3 branch August 24, 2026 05:22
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