script with the nav

This commit is contained in:
s-pace
2018-11-07 18:10:44 +01:00
parent f7b55aa35e
commit 2f70d88292
2 changed files with 8 additions and 8 deletions
-8
View File
@@ -63,14 +63,6 @@
ga('create', 'UA-37242602-11', 'auto');
ga('send', 'pageview');
</script>
<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: "#doc_search",
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
{% endblock %}
{# From: https://github.com/bitprophet/alabaster/blob/5f249677242be96601e034edb3697b7482a6abcf/alabaster/layout.html #}
+8
View File
@@ -6,6 +6,14 @@
<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>
<input id="doc_search" placeholder="Search the doc" autofocus/>
<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: "#doc_search",
debug: false // Set debug to true if you want to inspect the dropdown
});
</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.