Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

improving the Searcher JS module

オープン
#1,207 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
search

調査の方向性

まず lib/rdoc/generator/template/json_index/js/searcher.js を読み、現在の全文検索とハイライトの動作を、提案されている Fuse.js アプローチと比較します。適切な RDoc のテストケースまたは実際の使用例を特定し、新しい実装が既存の動作と一致するか改善していること、そしてそれらのケースがパスすることを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Hello, I'd like to propose a change to the Searcher.js module at lib/rdoc/generator/template/json_index/js/searcher.js, to have this switch to using Fuse.js for its full text searching and highlighting capabilities. That part I can handle in a PR.

What part I got stuck on was how to test that this new implementation would be working as well (or, ideally, better) than the previous one. Are there some test cases that this should be passing within the RDoc project itself or some real-world cases that I could try out?

主要言語
Ruby
スター
929
フォーク
469
平均マージ
1日 2時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruby/rdoc のほかの issue

ruby/rdoc の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。