algolia
https://vitepress.vuejs.org/config/theme-configs#algolia
algolia 是 vue 官方使用的文档搜索系统,原理是基于 algolia 团队的爬虫,vitepress 集成了 algolia,所以我们去申请一下,获取一下秘钥,就可以在 vitepress 快速使用 algolia
申请网址
收到回信
Hi there 👋
Thanks for your interest and trust in Algolia DocSearch. We've received your request for https://zqy233.github.io/zqy-blog/, and will get back to you soon.
DocSearch is built in two parts: - A crawler which we run in our own infrastructure every week (configurable). It follows every link in your website and extracts content from every page it traverses. It then pushes this content to an Algolia index. (Read more: https://www.algolia.com/doc/tools/crawler/getting-started/overview/ ) - A JavaScript snippet to be inserted in your website that will bind this Algolia index to your search input and display its results in a modal UI. (Read more: https://github.com/algolia/docsearch )
If you want to find more details on how DocSearch works, take a look at the docs: https://docsearch.algolia.com/
Meanwhile, let us know if you have any other questions.
Have a great day, The DocSearch team.
你好 👋 感谢您对 Algolia DocSearch 的兴趣和信任。我们已收到您的请求https://zqy233.github.io/zqy-blog/,很快就会回复您。 DocSearch 由两部分组成: -我们每周在自己的基础设施中运行的爬虫(可配置)。它跟踪您网站中的每个链接,并从它浏览的每个页面中提取内容。然后将此内容推送到 Algolia 索引。(阅读更多:https://www.algolia.com/doc/tools/crawler/getting-started/overview/ ) -要插入到网站中的 JavaScript 代码段,将此 Algolia 索引绑定到搜索输入,并在模态 UI 中显示其结果。(阅读更多:https://github.com/algolia/docsearch ) 如果您想了解 DocSearch 如何工作的更多详细信息,请查看文档:https://docsearch.algolia.com/ 同时,如果您有任何其他问题,请告诉我们。 祝你有美好的一天, DocSearch 团队。