Skip to content

Commit 6c75ecf

Browse files
committed
Add docs search
1 parent 5a30d50 commit 6c75ecf

File tree

3 files changed

+621
-551
lines changed

3 files changed

+621
-551
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ trim_trailing_whitespace = true
1212
trim_trailing_whitespace = false
1313
indent_size = 2
1414

15-
[*.{yml,yaml, vue}]
15+
[*.{yml,yaml,vue,ts}]
1616
indent_size = 2

docs/.vitepress/config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ export default {
5151
footer: {
5252
message: 'Released under the MIT License.',
5353
copyright: 'Copyright © 2023-present crazywhalecc'
54-
}
54+
},
55+
search: {
56+
provider: 'algolia',
57+
options: {
58+
appId: 'IHJHUB1SF1',
59+
apiKey: '8266d31cc2ffbd0e059f1c6e5bdaf8fc',
60+
indexName: 'static-php docs',
61+
},
62+
},
5563
}
5664
}

0 commit comments

Comments
 (0)