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

貢獻者指南