Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ const siteConfig = {
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/code-blocks-buttons.js',
{
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,
},
],
stylesheets: ['/css/code-block-buttons.css'],

Expand Down
18 changes: 18 additions & 0 deletions website/static/js/enable_lme_chatbot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* 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() {
if (window.loadCustomWidget) {
window.loadCustomWidget({
orgId: "d70dafeb-4148-49"
});
}
});