q2 docs llms: a bare error code (`Q-2-38`) does not resolve, and the exact page is not suggested first

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

まず、コマンド q2 docs llms を追跡し、埋め込まれたドキュメントページへの参照をどのように解決し、候補をどのように順位付けするかを確認します。issue にはソースファイルやテストの指定はありません。q2 docs llms Q-2-38 で再現し、このコマンドの近くにあるテストを確認します。コードだけで該当ページが解決され、完全一致の候補が前方一致より上位に表示されれば完了です。

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

説明

Split from #1115. Tested with q2 0.48.0.

q2 docs llms <href> needs the full href of an error page. A bare error code doesn't resolve, and the suggestions rank a prefix match above the exact page:

$ q2 docs llms Q-2-38
Error: no embedded documentation page matches `Q-2-38`; did you mean one of:
  errors/markdown/Q-2-3.md
  errors/markdown/Q-2-38.md

Request: resolve a bare error code (Q-2-38) to its page, and rank an exact match first in the suggestions.

主要言語
Rust
スター
321
フォーク
23
平均マージ
11時間 39分
マージ済み PR(30日)
251

環境構築

はじめの一歩

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

quarto-dev/q2 のほかの issue

quarto-dev/q2 の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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