docs: update docs
This commit is contained in:
parent
a394624538
commit
931b698b19
@ -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)
|
||||
|
||||
### 配置示例
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user