CI does not check Markdown links or anchors under docs/

Đang mở
#360 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
45/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ệ
github-actions
Lĩnh vực
ci-cd, documentation

Hướng nghiên cứu

Start with .github/workflows/lint.yml, whose jobs begin at line 16 and currently run only eslint, then check .github/workflows/dacs-directory-ci.yml, which does not cover docs. Look at the Markdown files in docs/learn to see how they link to the Standard and how the pinned revision is referenced. Done means a workflow runs on pull requests that touch docs/ and fails when a relative link points to a missing file or an anchor into the pinned Standard does not exist. Confirm the issue with a maintainer first, since it came from a code review.

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

Mô tả

contributors-section

Where: .github/workflows/lint.yml:16 (on phase0-completion at the linked commit)

What goes wrong: No workflow checks relative links or Standard anchors in docs/. The workflow in .github/workflows/lint.yml (jobs start at line 16) runs only eslint, and .github/workflows/dacs-directory-ci.yml does not look at docs either. The Learn pages in docs/learn link to sections of the Standard at a pinned revision, so a moved pin or a renamed heading can leave dead anchors with no warning.

Suggested fix: Add a small link check for docs/learn to the lint workflow or a separate workflow: relative links must resolve to files in the repository, and anchors into the Standard must exist in the pinned revision. Run it on pull requests that touch docs/.

Size: Medium

This comes from a code review, not from a failing run, so please confirm it before starting. Send the fix as a pull request to phase0-completion. It merges once tests pass and a maintainer has approved it.

Ngôn ngữ chính
TypeScript
Star
0
Fork
3
Merge trung bình
20 giờ 26 phút
Pull request đã merge (30 ngày)
119

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 DACS-Agent-commerce/Community

Tất cả issue của DACS-Agent-commerce/Community

Issue tương tự

Thêm issue về TypeScript

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.