Commit 10aac29
docsy(v2): run the icon-name check in CI, and bump infra to provide it (#1460)
* docsy(v2): run the icon-name check in CI, and bump infra to provide it
infra#263 added tools/check_icon_names.py and the make targets, but nothing
called them, so the guard was manual-only. That does not close DOC-1444, whose
whole point is that six dead icon names accumulated across two version lines
precisely because nothing was watching. A checker no job runs is the same
silence with extra steps.
Adds check-icon-names.yml, modelled on check-links.yml (same triggers, same
shape, same failure-message convention), and bumps the docs-infra submodule to
2f92666 so `make check-icon-names` exists.
Ordering is load-bearing and this is the earliest safe point. The workflow
fails unless BOTH the submodule provides the target AND the content is clean,
so it could not land before infra#263 (merged) and #1455 (merged, which fixed
the four dead v2 names). Verified against this branch: OK.
The v1 line needs the same workflow; it ships with the v1 icon fixes in #1456,
since v1's CI has drifted from main's before (docs#1281).
Co-Authored-By: docsy <docsy@union.ai>
Signed-off-by: Peeter Piegaze <1153481+ppiegaze@users.noreply.github.com>
* docsy(v2): register check-icon-names in the delegator's TARGETS list
CI failed with `make: *** No rule to make target 'check-icon-names'`, which is
the wiring working as intended on its first run.
The docs root Makefile is a thin delegator that forwards to
unionai-docs-infra/Makefile through an explicit TARGETS list, and its own
comment says why the list cannot be a pattern rule: "These must be listed
explicitly because Make's % pattern rule won't match targets that correspond to
existing files/directories."
infra#263 added the target to the infra Makefile; nothing registered it here,
so the delegator had no rule to forward. Adds check-icon-names and
update-icon-names to TARGETS.
Verified end to end via `make check-icon-names`, the same entry point CI uses,
rather than by invoking the script directly -- which is what hid this: the
script ran fine on its own path all along.
Co-Authored-By: docsy <docsy@union.ai>
Signed-off-by: Peeter Piegaze <1153481+ppiegaze@users.noreply.github.com>
---------
Signed-off-by: Peeter Piegaze <1153481+ppiegaze@users.noreply.github.com>
Co-authored-by: docsy <docsy@union.ai>1 parent 6ef1405 commit 10aac29
3 files changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments