Check the docs on every pull request: links, Markdown, SUMMARY.md and wording
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, markdown, yaml
- 領域
- ci-cd, documentation
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- 沒有語言資料
- 星號
- 3
- 分支
- 1
- 平均合併
- 2 分鐘
- 30 天內合併 PR
- 27
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quantum-php/docs 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 73/100
quantum-php/docs#196 ·
維護者通常 1 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 84/100
quantum-php/docs#190 ·
維護者通常 1 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 72/100
quantum-php/docs#187 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 75/100
quantum-php/docs#194 ·
維護者通常 1 天內回覆
-
documentation
難度 3/5 1-2 天 新手友好度 63/100
quantum-php/docs#192 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
github/gh-aw-firewall#12415 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
enhancement
難度 1/5 1 小時以內 新手友好度 88/100
alunduil/woodland-generators#1105 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
Yeachan-Heo/oh-my-codex#4278 ·
維護者通常 1 天內回覆