Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Disable Kapa AI #4518

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions docs/source/_static/custom.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
document.addEventListener('DOMContentLoaded', function () {
var script = document.createElement('script');
script.src = 'https://widget.kapa.ai/kapa-widget.bundle.js';
script.setAttribute('data-website-id', '4223d017-a3d2-4b92-b191-ea4d425a23c3');
script.setAttribute('data-project-name', 'SkyPilot');
script.setAttribute('data-project-color', '#4C4C4D');
script.setAttribute('data-project-logo', 'https://avatars.githubusercontent.com/u/109387420?s=100&v=4');
script.setAttribute('data-modal-disclaimer', 'Results are automatically generated and may be inaccurate or contain inappropriate information. Do not include any sensitive information in your query.\n**To get further assistance, you can chat directly with the development team** by joining the [SkyPilot Slack](https://slack.skypilot.co/).');
script.setAttribute('data-modal-title', 'SkyPilot Docs AI - Ask a Question.');
script.setAttribute('data-button-position-bottom', '100px');
script.async = true;
document.head.appendChild(script);
});
// As of 2025-01-01, Kapa seems to be having issues loading on some ISPs, including comcast. Uncomment once resolved.
// document.addEventListener('DOMContentLoaded', function () {
// var script = document.createElement('script');
// script.src = 'https://widget.kapa.ai/kapa-widget.bundle.js';
// script.setAttribute('data-website-id', '4223d017-a3d2-4b92-b191-ea4d425a23c3');
// script.setAttribute('data-project-name', 'SkyPilot');
// script.setAttribute('data-project-color', '#4C4C4D');
// script.setAttribute('data-project-logo', 'https://avatars.githubusercontent.com/u/109387420?s=100&v=4');
// script.setAttribute('data-modal-disclaimer', 'Results are automatically generated and may be inaccurate or contain inappropriate information. Do not include any sensitive information in your query.\n**To get further assistance, you can chat directly with the development team** by joining the [SkyPilot Slack](https://slack.skypilot.co/).');
// script.setAttribute('data-modal-title', 'SkyPilot Docs AI - Ask a Question.');
// script.setAttribute('data-button-position-bottom', '100px');
// script.async = true;
// document.head.appendChild(script);
// });

(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
Expand Down
Loading