Documentation: Add ai bot (#2383)
This commit is contained in:
parent
95d66707f5
commit
110ebe920e
3 changed files with 9 additions and 1 deletions
|
@ -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
6
docs/scripts/extra.js
Normal 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);
|
||||||
|
});
|
|
@ -191,6 +191,8 @@ theme:
|
||||||
|
|
||||||
extra_css:
|
extra_css:
|
||||||
- "stylesheets/extra.css"
|
- "stylesheets/extra.css"
|
||||||
|
extra_javascript:
|
||||||
|
- "scripts/extra.js"
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
version:
|
version:
|
||||||
|
|
Loading…
Add table
Reference in a new issue