Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e081f2

Browse files
author
Sylvain Pace
authored
Merge branch 'master' into www/fix/search_script_position
2 parents 18df25b + 2fe73f2 commit 4e081f2

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

docs/_templates/layout.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,3 @@
111111
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
112112
</div>
113113
{% 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>

docs/_templates/sidebarintro.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
</p>
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>
8+
89
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
910
<style>
1011
.algolia-autocomplete{
@@ -24,7 +25,8 @@
2425
inputSelector: "#doc_search",
2526
debug: false // Set debug to true if you want to inspect the dropdown
2627
});
27-
</script>
28+
</script>
29+
2830

2931
<p>
3032
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)