HeyPuter/puter

Docs search improvement

已关闭

#2,362 创建于 2026年1月28日

 (8 条评论) (0 个反应) (0 位负责人)JavaScript (3,752 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (41,281 个星标)
PR 合并指标
 (平均合并 1天 1小时) (30 天内合并 110 个 PR)

描述

Currently our search feature in docs uses basic text matching. While this works, it has downsides such as it can't match similar word, and also handle some level of typos

https://docs.puter.com/

ideally the search would be something like this:

  • supports fuzzy search, we can simply use a library like pagefind, or similar for this (whichever works best)
  • still maintain our text fragment matching, this is unique to puter docs
  • if it's not an exact match (fuzzy) we still want the search result to jump somewhere, and the way it's done is to jump to the nearest subheading

贡献者指南