Merge branch 'master' into www/fix/search_script_position

This commit is contained in:
Sylvain Pace
2018-11-07 18:30:18 +01:00
committed by GitHub
2 changed files with 3 additions and 10 deletions
-9
View File
@@ -111,12 +111,3 @@
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
</div>
{% 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>
+3 -1
View File
@@ -5,6 +5,7 @@
</p>
<p style="margin-left:auto; margin-right: auto;"><iframe src="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe></p>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<style>
.algolia-autocomplete{
@@ -24,7 +25,8 @@
inputSelector: "#doc_search",
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
</script>
<p>
This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.