diff --git a/docusaurus.config.js b/docusaurus.config.js index 038f592..f96da2b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -11,6 +11,16 @@ module.exports = { favicon: 'img/sys-logo.svg', organizationName: 'Syscoin', // Usually your GitHub org/user name. projectName: 'sys-docs', // Usually your repo name. + scripts: [ + { + src: "https://dashboard.letmeexplain.ai/embed/lme_chatbot_widget.js", // LetMeExplain embed script + async: false, + }, + { + src: "/js/enable_lme_chatbot.js", // Custom initialization script + defer: true, + }, + ], themeConfig: { hideableSidebar: true, navbar: { diff --git a/static/js/enable_lme_chatbot.js b/static/js/enable_lme_chatbot.js new file mode 100644 index 0000000..1e96a89 --- /dev/null +++ b/static/js/enable_lme_chatbot.js @@ -0,0 +1,16 @@ +/* This code enables the integration of the LetMeExplain.ai chatbot to this page. + +Parameters: orgId, - Unique identifier of the chatbot in the letmeexplain.ai client dashboard. +For support of LetMeExplain.ai chatbot or access to client dashboard, please contact + +Email: hello@letmeexplain.ai +Discord ID: @minus1618 +Telegram: @amiri_uk + +*/ + + window.addEventListener("DOMContentLoaded", function() { + window.loadCustomWidget({ + orgId: "a6733691-36e5-40" + }); + }); \ No newline at end of file