Skip to content

Commit

Permalink
Documentation: Add ai bot (#2383)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Nov 25, 2023
1 parent 95d6670 commit 110ebe9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ labels:
- 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
labels:
Expand Down
6 changes: 6 additions & 0 deletions docs/scripts/extra.js
Original file line number Diff line number Diff line change
@@ -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);
});
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ theme:

extra_css:
- "stylesheets/extra.css"
extra_javascript:
- "scripts/extra.js"

extra:
version:
Expand Down

0 comments on commit 110ebe9

Please sign in to comment.