Skip to content

Commit

Permalink
Add Algolia DocSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjoshy committed Jul 21, 2023
1 parent f2a9330 commit 6a2e80e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/_static/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
docsearch({
appId: 'TUWNQQ885H',
apiKey: '65d911f00226e60a20d63592c1f0b800',
indexName: 'openskill',
insights: true,
container: 'searchbox',
debug: false
});
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
}
html_css_files = [
"custom.css",
"https://cdn.jsdelivr.net/npm/@docsearch/css@3&"
]
html_js_files = [
'custom.js',
]
html_context = {
"source_type": "github|gitlab",
Expand Down

0 comments on commit 6a2e80e

Please sign in to comment.