limit search to docs (#3453)

This commit is contained in:
Deborah Barnard
2025-08-07 12:55:57 +01:00
committed by GitHub
parent a69ad10364
commit e7f68ad4f8

View File

@@ -9,6 +9,7 @@ document.addEventListener("DOMContentLoaded", function () {
script.setAttribute("data-project-logo", "/_images/assets/n8n-icon-kapa-modal.png");
// Enable non-AI search https://docs.kapa.ai/integrations/website-widget/search
script.setAttribute("data-search-mode-enabled", true);
script.setAttribute("data-search-include-source-names", '["Documentation"]')
// Hide the Kapa widget
script.setAttribute("data-button-hide", true);
// MkDocs tries to squeeze the modal