File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 11
11
min-width : initial;
12
12
max-width : initial;
13
13
}
14
- .algolia-autocomplete {
15
- width : 100% ;
16
- height : 1.5em
17
- }
18
- # q {
19
- width : 100% ;
20
- height : 100% ;
21
- }
22
14
</ style >
23
- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css " />
24
-
25
15
26
16
{% if pagename == 'index' %}
27
17
< link rel ="canonical " href ="https://docs.python-guide.org/ "/>
120
110
< div style ="text-align: center; " id ="waldo-tag-2171 "> </ div >
121
111
{% if show_copyright %}< p > ©{{ copyright }}</ p > {% endif %}
122
112
</ div >
123
- {% endblock %}
113
+ {% endblock %}
114
+ <!-- at the end of the BODY -->
115
+ < script type ="text/javascript " src ="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js "> </ script >
116
+ < script type ="text/javascript "> docsearch ( {
117
+ apiKey : '512b0d6c0c8578bed7662f5279c2249c' ,
118
+ indexName : 'python-guide' ,
119
+ inputSelector : '#q' ,
120
+ debug : false // Set debug to true if you want to inspect the dropdown
121
+ } ) ;
122
+ </ script >
Original file line number Diff line number Diff line change 11
11
width : 100% ;
12
12
height : 1.5em
13
13
}
14
- # q {
14
+ # doc_search {
15
15
width : 100% ;
16
16
height : 100% ;
17
17
}
You can’t perform that action at this time.
0 commit comments