Diagnostics: point to the error's documentation page (`q2 docs llms errors/…/Q-2-38.md`)

Đang mở
#1,447 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli, documentation

Hướng nghiên cứu

The issue gives an example diagnostic and the --json-errors option, but names no source files or tests. Start by searching the Rust code for the diagnostic output and --json-errors, then find how documentation pages are associated with diagnostic codes. Done means diagnostics with a documentation page show its path or URL, including in JSON output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Split from #1115. Tested with q2 0.48.0.

A diagnostic shows its code but not where its documentation is:

Error: [Q-2-38] Unclosed Attribute Specifier

An agent (or a person) that wants the explanation has to guess the href in q2 docs llms, which needs the category directory (errors/markdown/Q-2-38.md).

Request: a hint line on diagnostics that have a page, such as see: q2 docs llms errors/markdown/Q-2-38.md (or the docs URL), and the same href or URL in --json-errors.

Ngôn ngữ chính
Rust
Star
321
Fork
23
Merge trung bình
11 giờ 39 phút
Pull request đã merge (30 ngày)
251

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/q2

Tất cả issue của quarto-dev/q2

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.