File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
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 . type = "module" ;
4+ script . id = "runllm-widget-script"
5+
6+ script . src = "https://widget.runllm.com" ;
7+
8+ script . setAttribute ( "version" , "stable" ) ;
9+ script . setAttribute ( "runllm-keyboard-shortcut" , "Mod+j" ) ; // cmd-j or ctrl-j to open the widget.
10+ script . setAttribute ( "runllm-name" , "vLLM" ) ;
11+ script . setAttribute ( "runllm-position" , "BOTTOM_RIGHT" ) ;
12+ script . setAttribute ( "runllm-assistant-id" , "207" ) ;
13+
14+ script . async = true ;
15+ document . head . appendChild ( script ) ;
16+ } ) ;
Original file line number Diff line number Diff line change 6868 'use_repository_button' : True ,
6969 'use_edit_page_button' : True ,
7070}
71+ html_static_path = ["_static" ]
72+ html_js_files = ["custom.js" ]
7173
7274# see https://docs.readthedocs.io/en/stable/reference/environment-variables.html # noqa
7375READTHEDOCS_VERSION_TYPE = os .environ .get ('READTHEDOCS_VERSION_TYPE' )
You can’t perform that action at this time.
0 commit comments