Skip to content

Commit

Permalink
fix(search): bump @docsearch/js to 3.3 & add appId config (#2765)
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff authored Dec 5, 2022
1 parent dc998ec commit cdf7b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ <h2>Resources</h2>
});
})
</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@1.0.0-alpha.28/dist/umd/index.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3.3.0/dist/umd/index.min.js"></script>
<script type="text/javascript">
let VERSION
if ('{{ version }}'.startsWith('v')) {
Expand All @@ -521,6 +521,7 @@ <h2>Resources</h2>
}
docsearch({
container: '#docsearch',
appId: 'BH4D9OD16A',
apiKey: '19a7a7a75d87608d6f42c722ed1e293f',
indexName: 'ignite',
placeholder: 'Search PyTorch-Ignite docs',
Expand Down

0 comments on commit cdf7b47

Please sign in to comment.