Skip to content

Commit 6a2e80e

Browse files
committed
Add Algolia DocSearch
1 parent f2a9330 commit 6a2e80e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/source/_static/custom.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
docsearch({
2+
appId: 'TUWNQQ885H',
3+
apiKey: '65d911f00226e60a20d63592c1f0b800',
4+
indexName: 'openskill',
5+
insights: true,
6+
container: 'searchbox',
7+
debug: false
8+
});

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
}
6666
html_css_files = [
6767
"custom.css",
68+
"https://cdn.jsdelivr.net/npm/@docsearch/css@3&"
69+
]
70+
html_js_files = [
71+
'custom.js',
6872
]
6973
html_context = {
7074
"source_type": "github|gitlab",

0 commit comments

Comments
 (0)