mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-03 02:24:51 +08:00
📝 add algolia search
This commit is contained in:
parent
cb68e0ee1b
commit
749d33478a
@ -71,6 +71,14 @@ module.exports = (context) => ({
|
|||||||
editLinks: true,
|
editLinks: true,
|
||||||
smoothScroll: true,
|
smoothScroll: true,
|
||||||
|
|
||||||
|
algolia: {
|
||||||
|
apiKey: "ef449608d0ad6e81b9efd05db6367040",
|
||||||
|
indexName: "nonebot",
|
||||||
|
algoliaOptions: {
|
||||||
|
facetFilters: ["lang:zh-CN"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
locales: {
|
locales: {
|
||||||
"/": {
|
"/": {
|
||||||
label: "简体中文",
|
label: "简体中文",
|
||||||
|
Loading…
Reference in New Issue
Block a user