Skip to content

Commit

Permalink
Updated docsearch info (#2944)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed May 15, 2023
1 parent 4825bb6 commit 6db97c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ <h2>Resources</h2>
});
})
</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3.3.0/dist/umd/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
<script type="text/javascript">
let VERSION
if ('{{ version }}'.startsWith('v')) {
Expand All @@ -526,9 +526,9 @@ <h2>Resources</h2>
}
docsearch({
container: '#docsearch',
appId: 'BH4D9OD16A',
apiKey: '19a7a7a75d87608d6f42c722ed1e293f',
indexName: 'ignite',
appId: '7EWYE1JCT3',
apiKey: '841e93e60c16975ba1bd8c7c716eed82',
indexName: 'pytorch-ignite',
placeholder: 'Search PyTorch-Ignite docs',
searchParameters: {
facetFilters: [[`version:${VERSION}`, 'tags:ignite-web']],
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
# 'https://fonts.googleapis.com/css?family=Lato',
# '_static/css/pytorch_theme.css'
"_static/css/ignite_theme.css",
"https://cdn.jsdelivr.net/npm/@docsearch/css@3.3.0/dist/style.min.css",
"https://cdn.jsdelivr.net/npm/@docsearch/css@3",
],
}

Expand Down

0 comments on commit 6db97c6

Please sign in to comment.