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 1111 min-width : initial;
1212 max-width : initial;
1313 }
14- .algolia-autocomplete {
15- width : 100% ;
16- height : 1.5em
17- }
18- # q {
19- width : 100% ;
20- height : 100% ;
21- }
2214 </ style >
23- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css " />
24-
2515
2616 {% if pagename == 'index' %}
2717 < link rel ="canonical " href ="https://docs.python-guide.org/ "/>
120110 < div style ="text-align: center; " id ="waldo-tag-2171 "> </ div >
121111 {% if show_copyright %}< p > ©{{ copyright }}</ p > {% endif %}
122112</ 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 1111 width : 100% ;
1212 height : 1.5em
1313}
14- # q {
14+ # doc_search {
1515 width : 100% ;
1616 height : 100% ;
1717}
You can’t perform that action at this time.
0 commit comments