Commit 5603694
committed
fix(generate-docs): register zig-lsp in STATIC_PLUGIN_AGENT_COUNTS
The doc-freshness check (generate-docs.js --check) is the source of
truth for site/content.json's plugin stat. Without zig-lsp in the
static map, --check rewrote the stat back to 19, failing the freshness
test we run in CI.
Adds 'zig-lsp': 0 to the map (zero file-based agents, since zig-lsp
is config-only). STATIC_PLUGIN_COUNT now derives 20 from the keys.
STATIC_FILE_BASED_AGENT_COUNT unchanged because zig-lsp contributes 0.
Verified locally:
- node scripts/generate-docs.js --check exits 0
- __tests__/generate-docs.test.js: 64/64 pass
- __tests__/cli-subcommands.test.js: 13/13 pass1 parent a427130 commit 5603694
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
| |||
0 commit comments