Skip to content

Add kapa.ai AI search widget to documentation pages#595

Open
nate-double-u wants to merge 2 commits into
strimzi:mainfrom
nate-double-u:add-kapa-search-to-site
Open

Add kapa.ai AI search widget to documentation pages#595
nate-double-u wants to merge 2 commits into
strimzi:mainfrom
nate-double-u:add-kapa-search-to-site

Conversation

@nate-double-u

Copy link
Copy Markdown

Scope the widget to /documentation/ and /docs/ pages to match the kapa.ai integration's domain allowlist.

Assisted-by: Copilot 223556219+Copilot@users.noreply.github.com

Type of change

Select the type of your PR and delete the other items

  • Other

Description

Adding kapa.ai search widget to the website.

Checklist

  • AI assistance was used to create this PR

Scope the widget to /documentation/ and /docs/ pages to match the kapa.ai integration's domain allowlist.

Assisted-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Nate W <natew@cncf.io>

@see-quick see-quick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @nate-double-u. It would also be great to get a review from the Kapa.ai team, I am just not sure who to tag here.

Comment thread _includes/site-header.html Outdated
Comment thread _includes/site-header.html Outdated
@Antonkapa

Copy link
Copy Markdown

Awesome @nate-double-u, looks good! Left one comment on the logo but the current set up should also work! I'll leave it up to @see-quick if you folks wanna make the widget bigger. You can use data-launcher-button-height="6rem and data-launcher-button-width="5.5rem to do that!

@im-konge

im-konge commented Jul 3, 2026

Copy link
Copy Markdown
Member

@Antonkapa @nate-double-u Thanks for the changes and review, btw will the whole work once the PR is merged? I wanted to try it out - just out of curiosity - and it throws errors (as you can see on the pic).

image

- Point data-website-id at the Strimzi integration; the previous ID
  belonged to the Argo project
- Remove the documentation-only guard so the widget loads on every page
- Switch data-project-logo to the square strimzi-icon.svg; the wordmark
  was cropped in the button and modal
- Enlarge the launcher button

Assisted-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Nate W <natew@cncf.io>
@nate-double-u

nate-double-u commented Jul 3, 2026

Copy link
Copy Markdown
Author

I think I had the wrong widget ID initially, I've fixed that, and it should work with the deploy preview sites as well.

I've made it so that the widget isn't just on the docs pages and have made it bigger (and I swapped out the logo).

@scholzj scholzj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks. Looks good to me.

@see-quick see-quick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, thanks @nate-double-u! Looks really good.

@Antonkapa

Copy link
Copy Markdown

Looks good to me!

@ppatierno ppatierno left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks!

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.

7 participants