From 931b698b19de1ef96c87d1fb1d5ee6d49b35d4d7 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Tue, 22 Oct 2024 13:17:59 +0800 Subject: [PATCH] docs: update docs --- docs/notes/theme/guide/功能/内容搜索.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/notes/theme/guide/功能/内容搜索.md b/docs/notes/theme/guide/功能/内容搜索.md index ac835039..7b6b6c76 100644 --- a/docs/notes/theme/guide/功能/内容搜索.md +++ b/docs/notes/theme/guide/功能/内容搜索.md @@ -69,13 +69,11 @@ export default defineUserConfig({ ### 获取搜索索引 你需要 [提交你的网站 URL](https://docsearch.algolia.com/apply/) 来加入 DocSearch 项目。 -当你的索引成功创建后, DocSearch 团队会将 [apiKey](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#apikey) 和 [indexName](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#indexname) +当你的索引成功创建后, DocSearch 团队会将 `apiKey` 和 `indexName` 发送到你的邮箱。接下来,你就可以配置该插件,在 VuePress 中启用 DocSearch 了。 或者,你也可以 [运行你自己的爬虫](https://docsearch.algolia.com/docs/run-your-own/) 来创建索引, -然后使用你自己的 [appId](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#appId), -[apiKey](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#apikey) 和 -[indexName](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#indexname) 来配置该插件。 +然后使用你自己的 `appId` , `apiKey` 和 `indexName` 来配置该插件。 以下是本主题使用的 爬虫配置示例, 你可以前往 [Algolia Crawler](https://crawler.algolia.com/admin/crawlers/) 根据你的需求进行修改: @@ -216,7 +214,7 @@ new Crawler({ ### 配置项 -完整配置请查看 [文档](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#%E9%85%8D%E7%BD%AE%E9%A1%B9) +完整配置请查看 [文档](https://ecosystem.vuejs.press/zh/plugins/search/docsearch.html) ### 配置示例