mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
ready to deploy
This commit is contained in:
Vendored
+10
-11
@@ -11,17 +11,7 @@
|
||||
min-width: initial;
|
||||
max-width: initial;
|
||||
}
|
||||
.algolia-autocomplete{
|
||||
width: 100%;
|
||||
height: 1.5em
|
||||
}
|
||||
#q{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
|
||||
|
||||
{% if pagename == 'index' %}
|
||||
<link rel="canonical" href="https://docs.python-guide.org/"/>
|
||||
@@ -120,4 +110,13 @@
|
||||
<div style="text-align: center;" id="waldo-tag-2171"></div>
|
||||
{% if show_copyright %}<p>©{{ copyright }}</p>{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
<!-- at the end of the BODY -->
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
||||
<script type="text/javascript"> docsearch({
|
||||
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
|
||||
indexName: 'python-guide',
|
||||
inputSelector: '#q',
|
||||
debug: false // Set debug to true if you want to inspect the dropdown
|
||||
});
|
||||
</script>
|
||||
Vendored
+1
-1
@@ -11,7 +11,7 @@
|
||||
width: 100%;
|
||||
height: 1.5em
|
||||
}
|
||||
#q{
|
||||
#doc_search{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user