Documentation: Add ai bot (#2383)

This commit is contained in:
shamoon 2023-11-25 08:22:16 -08:00 committed by GitHub
parent 95d66707f5
commit 110ebe920e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -153,7 +153,7 @@ labels:
- homepage.widget.fields=["field1","field2"] # optional - homepage.widget.fields=["field1","field2"] # optional
``` ```
You can add specify fields for e.g. the [CustomAPI](/widgets/services/customapi) widget by using array-style dot notation: You can add specify fields for e.g. the [CustomAPI](../widgets/services/customapi.md) widget by using array-style dot notation:
```yaml ```yaml
labels: labels:

6
docs/scripts/extra.js Normal file
View file

@ -0,0 +1,6 @@
document$.subscribe(function () {
var glimeScript = document.createElement("script");
glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js");
glimeScript.setAttribute("onload", 'window.glime.init("Bl3mlvfCnTnRm5");');
document.head.appendChild(glimeScript);
});

View file

@ -191,6 +191,8 @@ theme:
extra_css: extra_css:
- "stylesheets/extra.css" - "stylesheets/extra.css"
extra_javascript:
- "scripts/extra.js"
extra: extra:
version: version: