1.7 KiB
1.7 KiB
V1 Block 28 — Project‑wide Documentation Sweep
Purpose: JavaDoc-style commenting.
Note for Codex: Follow tasks exactly; avoid exploratory calls when tasks specify names/files/tests.
Chunk 28.1 — Documentation sweep
Recommended level: HIGH
Status: Complete on 2026-06-26.
Tasks
- Enable
dart docin CI; fail build if undocumented public members. - Add docs to all public symbols across packages using triple‑slash style.
- Document build scripts and CI YAML with comments at top describing purpose.
Acceptance criteria
dart docgenerates site without warnings.- CI passes doc coverage gate.
Completed implementation
- Added
tool/check_docs.dartto generate docs for every package with alib/directory underdoc/api/packages/. - The doc gate fails on any
dart docwarning or nonzero doc generation exit. - Added doc generation to
scripts/test.dart, soscripts/test.shand CI run the docs gate. - Updated CI artifact upload to include generated docs under
doc/api/. - Added
.gitignoreentry for generateddoc/api/output. - Fixed unresolved documentation references in
scheduler_core,scheduler_export, andscheduler_export_json. - Added top-of-file purpose comments to
scripts/dev.dart,scripts/test.dart,scripts/build.dart,tool/check_coverage.dart,tool/check_docs.dart, and.github/workflows/ci.yml.
Verification
dart run tool/check_docs.dart: passed; docs generated for all public-library packages with 0 warnings and 0 errors.dart analyze: passed, no issues found.scripts/test.sh: passed.- Coverage result in final gate: 83.27% package
lib/line coverage, above the 80% threshold.