-
Notifications
You must be signed in to change notification settings - Fork 808
Expand file tree
/
Copy pathgurubase-widget.js
More file actions
26 lines (26 loc) · 929 Bytes
/
gurubase-widget.js
File metadata and controls
26 lines (26 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = function (context) {
return {
name: "docusaurus-plugin-gurubase-widget", // Feel free to change this name
injectHtmlTags() {
return {
postBodyTags: [
{
tagName: "script",
attributes: {
src: "https://widget.gurubase.io/widget.latest.min.js",
"data-widget-id": "50cwxAGtBx7_T8lBt0wDabjjmYws1JMCYF-MMKfJV7w",
"data-text": "Ask AI",
"data-margins": '{"bottom": "20px", "right": "20px"}',
"data-light-mode": "false",
"data-name": "NETworkManager",
"data-icon-url": "https://borntoberoot.net/NETworkManager/img/logo.svg",
"data-bg-color": "#00d4aa",
defer: true,
id: "guru-widget-id", // Do not change this
},
},
],
};
},
};
};