diff --git a/js/chatling.js b/js/chatling.js new file mode 100644 index 0000000000000000000000000000000000000000..20a818306d2d377604ab94f52230c827334660d9 --- /dev/null +++ b/js/chatling.js @@ -0,0 +1,11 @@ +// docs/js/chatling.js +window.chtlConfig = { chatbotId: "7573492174" }; + +(function() { + const script = document.createElement('script'); + script.src = "https://chatling.ai/js/embed.js"; + script.id = "chatling-embed-script"; + script.async = true; + script.setAttribute("data-id", "7573492174"); + document.body.appendChild(script); +})(); diff --git a/mkdocs.yml b/mkdocs.yml index 645e440cec6ca09418be77457e99601bc8ddef80..e53c75f5e173e3103542e143cf98e65584085abc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,7 @@ extra_css: extra_javascript: - https://unpkg.com/mermaid@10.1.0/dist/mermaid.min.js + - js/chatling.js # Repository repo_name: sccs/docs.it4i.cz