From 749d33478a721df17b5ba202671d097d555affac Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 21 Jul 2021 17:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20algolia=20search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f3fd32b6..69efc7ba 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -71,6 +71,14 @@ module.exports = (context) => ({ editLinks: true, smoothScroll: true, + algolia: { + apiKey: "ef449608d0ad6e81b9efd05db6367040", + indexName: "nonebot", + algoliaOptions: { + facetFilters: ["lang:zh-CN"], + }, + }, + locales: { "/": { label: "简体中文",