Skip to content

Commit

Permalink
[Docs] Disable Kapa AI (#4518)
Browse files Browse the repository at this point in the history
Disable kapa
  • Loading branch information
romilbhardwaj authored Jan 1, 2025
1 parent 3b0b110 commit 17156f7
Showing 1 changed file with 14 additions and 13 deletions.
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

0 comments on commit 17156f7

Please sign in to comment.