🔀 Merge pull request #444

Docs: 文档支持 algolia 全文搜索
This commit is contained in:
Ju4tCode 2021-07-22 00:08:05 +08:00 committed by GitHub
commit e4a4a8127e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,14 @@ module.exports = (context) => ({
editLinks: true,
smoothScroll: true,
algolia: {
apiKey: "ef449608d0ad6e81b9efd05db6367040",
indexName: "nonebot",
algoliaOptions: {
facetFilters: ["lang:zh-CN"],
},
},
locales: {
"/": {
label: "简体中文",