File tree Expand file tree Collapse file tree 3 files changed +156
-105
lines changed Expand file tree Collapse file tree 3 files changed +156
-105
lines changed Original file line number Diff line number Diff line change 1+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
2+ var script = document . createElement ( 'script' ) ;
3+ script . defer = true ;
4+ script . type = 'module' ;
5+ script . id = 'runllm-widget-script' ;
6+ script . src = 'https://cdn.jsdelivr.net/npm/@runllm/search-widget@stable/dist/run-llm-search-widget.es.js' ;
7+ script . setAttribute ( 'version' , 'stable' ) ;
8+ script . setAttribute ( 'runllm-preset' , 'mkdocs' ) ;
9+ script . setAttribute ( 'runllm-server-address' , 'https://api.runllm.com' ) ;
10+ script . setAttribute ( 'runllm-assistant-id' , '111' ) ;
11+ script . setAttribute ( 'runllm-position' , 'BOTTOM_RIGHT' ) ;
12+ script . setAttribute ( 'runllm-keyboard-shortcut' , 'Mod+j' ) ;
13+ script . setAttribute ( 'runllm-slack-community-url' , 'https://quix.io/slack-invite' ) ;
14+ script . setAttribute ( 'runllm-name' , 'RunLLM' ) ;
15+
16+ document . head . appendChild ( script ) ;
17+ } ) ;
Original file line number Diff line number Diff line change @@ -406,6 +406,7 @@ extra_css:
406406extra_javascript :
407407 - javascripts/quix.js
408408 - javascripts/feedback.js
409+ - javascripts/runllm-widget.js
409410extra :
410411 social :
411412 - icon : ' fontawesome/brands/github'
You can’t perform that action at this time.
0 commit comments