Skip to content

Commit 082894c

Browse files
authored
Adding Kapa Assistant to Docs (#5290)
## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [ ] Bug Fix - [ ] Optimization - [ x ] Documentation Update - [ ] Community Node Submission ## Have you discussed this change with the InvokeAI team? - [ x ] Yes - [ ] No, because: ## Have you updated all relevant documentation? - [ x ] Yes - [ ] No ## Description This adds the Kapa assistant to our docs.
2 parents 6ea09ba + 4b00f8f commit 082894c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
document.addEventListener("DOMContentLoaded", function () {
2+
var script = document.createElement("script");
3+
script.src = "https://widget.kapa.ai/kapa-widget.bundle.js";
4+
script.setAttribute("data-website-id", "b5973bb1-476b-451e-8cf4-98de86745a10");
5+
script.setAttribute("data-project-name", "Invoke.AI");
6+
script.setAttribute("data-project-color", "#11213C");
7+
script.setAttribute("data-project-logo", "https://avatars.githubusercontent.com/u/113954515?s=280&v=4");
8+
script.async = true;
9+
document.head.appendChild(script);
10+
});

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ plugins:
101101
extra_javascript:
102102
- https://unpkg.com/[email protected]/dist/tablesort.min.js
103103
- javascripts/tablesort.js
104+
- https://widget.kapa.ai/kapa-widget.bundle.js
105+
- javascript/init_kapa_widget.js
104106

105107
extra:
106108
analytics:

0 commit comments

Comments
 (0)