Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b08cf0c

Browse filesBrowse files
author
s-pace
committed
feat: enhance search to the main introduction page
1 parent 7dc0ecd commit b08cf0c
Copy full SHA for b08cf0c

File tree

Expand file treeCollapse file tree

1 file changed

+7
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-10
lines changed

‎docs/_templates/sidebarintro.html

Copy file name to clipboardExpand all lines: docs/_templates/sidebarintro.html
+7-10Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,13 @@
2020
height: 100%;
2121
}
2222
</style>
23-
<input id="doc_search" placeholder="Search the Guide" autofocus/>
24-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
25-
<script type="text/javascript"> docsearch({
26-
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
27-
indexName: 'python-guide',
28-
inputSelector: "#doc_search",
29-
debug: false // Set debug to true if you want to inspect the dropdown
30-
});
31-
</script>
32-
23+
<input id="doc_search" placeholder="Search the doc" autofocus/>
24+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" onload="docsearch({
25+
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
26+
indexName: 'python-guide',
27+
inputSelector: '#doc_search',
28+
debug: false // Set debug to true if you want to inspect the dropdown
29+
})" async></script>
3330

3431
<p>
3532
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.