Check the docs on every pull request: links, Markdown, SUMMARY.md and wording
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, markdown, yaml
- Lĩnh vực
- ci-cd, documentation
Hướng nghiên cứu
Start by reading .github/workflows/update-website.yml to see how the existing workflow is wired, then AGENTS.md for the doc conventions the markdownlint and Vale configs must follow. Run lychee, markdownlint-cli2 and Vale locally over the pages to record the baseline, and read SUMMARY.md next to the files under v3.0 to see what the consistency script must compare. Done means a PR-triggered workflow on staging and master that passes green on the current pages, with local run instructions added to AGENTS.md.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add a GitHub Actions workflow that checks the docs on every pull request into staging and master. Today the only workflow, update-website.yml, runs after a push to master; nothing checks a PR, so broken links, wrong heading levels or a page missing from SUMMARY.md are only found by reading.
Checks
- Links and anchors with lychee, offline for internal links: a link to a missing page or to a
#headingthat does not exist fails the PR. Blocking. - Markdown structure with markdownlint-cli2 and a repo config that follows
AGENTS.md: heading levels in order, code blocks with a language hint, consistent lists. Noisy rules such as line length stay off. Blocking. SUMMARY.mdmatches the pages, with a small script in the repo: every pageSUMMARY.mdlinks exists, and every page underv3.0is listed. Blocking.- Wording with Vale and a small style of our own instead of a ready-made style guide: the product and tool names (
Quantum,PHPUnit,qt), no history narration outside the upgrade guide, filler words, and spelling with a vocabulary of the framework's names. It checks only the lines a PR adds and reports warnings on the PR; rules move to blocking once they give no false hits.
External links (GitHub, Packagist and other sites) are not checked on every PR, because slow sites would fail PRs at random; a weekly run or a non-blocking check can follow.
Steps
- Run the tools once locally on the current pages and record the findings (the baseline).
- Fix the findings of checks 1 to 3, or tune the config where a rule does not fit the docs, so the workflow starts green.
- Add the workflow, the configs, the
SUMMARY.mdscript and the Vale style, and describe inAGENTS.mdhow to run the checks locally.
Out of scope
- Checking statements and example names against the framework code: that stays a review task.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 3
- Fork
- 1
- Merge trung bình
- 2 phút
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quantum-php/docs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
quantum-php/docs#196 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quantum-php/docs#190 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
quantum-php/docs#187 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
quantum-php/docs#194 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
quantum-php/docs#192 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quantum-php/docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/gh-aw-firewall#12415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
alunduil/woodland-generators#1105 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Yeachan-Heo/oh-my-codex#4278 ·
Maintainer thường phản hồi trong vòng 1 ngày