Skip to content

Commit 2f70d88

Browse files
author
s-pace
committed
script with the nav
1 parent f7b55aa commit 2f70d88

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/_templates/layout.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@
6363
ga('create', 'UA-37242602-11', 'auto');
6464
ga('send', 'pageview');
6565
</script>
66-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
67-
<script type="text/javascript"> docsearch({
68-
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
69-
indexName: 'python-guide',
70-
inputSelector: "#doc_search",
71-
debug: false // Set debug to true if you want to inspect the dropdown
72-
});
73-
</script>
7466
{% endblock %}
7567

7668
{# From: https://github.com/bitprophet/alabaster/blob/5f249677242be96601e034edb3697b7482a6abcf/alabaster/layout.html #}

docs/_templates/sidebarintro.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
<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>
88
<input id="doc_search" placeholder="Search the doc" autofocus/>
9+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
10+
<script type="text/javascript"> docsearch({
11+
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
12+
indexName: 'python-guide',
13+
inputSelector: "#doc_search",
14+
debug: false // Set debug to true if you want to inspect the dropdown
15+
});
16+
</script>
917

1018
<p>
1119
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.

0 commit comments

Comments
 (0)