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

Skip to content

Commit 2fe73f2

Browse files
committed
Revert "adding search experience to the documentation #932"
This reverts commit 1363df8.
1 parent 47934d5 commit 2fe73f2

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

docs/_templates/layout.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,7 @@
1111
min-width: initial;
1212
max-width: initial;
1313
}
14-
.algolia-autocomplete{
15-
width: 100%;
16-
height: 1.5em
17-
}
18-
#q{
19-
width: 100%;
20-
height: 100%;
21-
}
2214
</style>
23-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
24-
2515

2616
{% if pagename == 'index' %}
2717
<link rel="canonical" href="https://docs.python-guide.org/"/>
@@ -121,12 +111,3 @@
121111
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
122112
</div>
123113
{% endblock %}
124-
<!-- at the end of the BODY -->
125-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
126-
<script type="text/javascript"> docsearch({
127-
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
128-
indexName: 'python-guide',
129-
inputSelector: '#q',
130-
debug: false // Set debug to true if you want to inspect the dropdown
131-
});
132-
</script>

docs/_templates/sidebarintro.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
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-
<input placeholder="Search the doc" autofocus id="q" />
98

109
<p>
1110
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)