File tree Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -140,33 +140,33 @@ export default hopeTheme({
140
140
// },
141
141
142
142
// docsearch 搜索插件选项
143
- // docsearch: {
144
- // // 必填
145
- // apiKey: '',
146
- // indexName: '',
147
- // appId: '',
148
- //
149
- // // 可选
150
- // placeholder: '搜索文档',
151
- // },
143
+ docsearch : {
144
+ // 必填
145
+ apiKey : 'b2a3b223caeed0e8976dcb3f313c5026 ' ,
146
+ indexName : 'imlyk ' ,
147
+ appId : 'KH7SY7AEUO ' ,
148
+
149
+ // 可选
150
+ placeholder : '搜索文档' ,
151
+ } ,
152
152
153
153
// 简单一点的搜索
154
- slimsearch : { // SlimSearchPluginOptions 对象
155
- // 是否索引正文,默认false
156
- indexContent : true ,
157
- // 是否在输入时提供自动建议
158
- suggestion : true ,
159
- // 存储查询历史的最大数量,设置 0 时禁用
160
- queryHistoryCount : 5 ,
161
- // 存储结果历史的最大数量 0 禁用
162
- resultHistoryCount : 5 ,
163
- // 弹出热键
164
- // hotKeys:
165
- // 自定义 CustomFieldOptions 对象数组
166
- customFields : [
167
-
168
- ]
169
- } ,
154
+ // slimsearch: { // SlimSearchPluginOptions 对象
155
+ // // 是否索引正文,默认false
156
+ // indexContent: true,
157
+ // // 是否在输入时提供自动建议
158
+ // suggestion: true,
159
+ // // 存储查询历史的最大数量,设置 0 时禁用
160
+ // queryHistoryCount: 5,
161
+ // // 存储结果历史的最大数量 0 禁用
162
+ // resultHistoryCount: 5,
163
+ // // 弹出热键
164
+ // // hotKeys:
165
+ // // 自定义 CustomFieldOptions 对象数组
166
+ // customFields: [
167
+ //
168
+ // ]
169
+ // },
170
170
171
171
// 开启复制自动附加版权
172
172
copyright : {
You can’t perform that action at this time.
0 commit comments