将脱机搜索添加到网站生成器创建的静态网站中以供公司内部使用

我正在探索在版本1或版本2中的Docusaurus中添加离线搜索的方法。

The solution mentioned at https://v2.docusaurus.io/docs/search/ by using Algolia DocSearch. But problem is "Note that your website needs to be publicly available for this to work (i.e., not behind a firewall). The service is free".

没有公司希望其机密信息公开。要启用本地搜索,有哪些不同的更简洁方便的选择?

Has anyone tried: Flexsearch https://github.com/nextapps-de/flexsearch

I am aware that discussion is going at https://github.com/facebook/docusaurus/issues/776

https://github.com/facebook/Docusaurus/issues/789

Tweet: https://twitter.com/docusaurus/status/1009453481017524224

但是,我无法从中脱颖而出,使离线搜索在docusaurus上正常工作。

评论
若初見
若初見

You can look for some offline search plugins under our community plugins section. They are not officially endorsed but some of them work pretty well.

点赞
评论