Skip to content

Commit 163fad2

Browse files
tannevaledclaude
andauthored
conformancefigure@v0.5.0 --root . : put the third copy in the denominator (#31)
The previous change FIXED the stale figure in hugo.toml. This one makes it GUARDED, which is a different thing: a number corrected by hand is a number that drifts again. This site states the ruby/spec total in three places. `--root layouts` reaches two of them. The third is hugo.toml's `params.phases[].blurb` -- prose Hugo renders into the page like any other -- and it read 23,481 for 26 days under a green check, because neither the tool's .md/.html filter nor this root could reach it. v0.5.0 of the tool reads .toml (go-embedded-ruby/docs#40). Widening the root is the other half: without it the new capability changes nothing here. Measured with the exact published command this lane will run, fetched through the proxy: $ go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.5.0 --root . go: downloading github.com/go-embedded-ruby/docs v0.5.0 5 current claim(s) checked against the gate's 23511 Five, not four. actionlint clean. The pin stays a tag, for the reason the comment above it already gives. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent d6f4e2f commit 163fad2

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/workflows/deploy-pages.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,16 @@ jobs:
9090
# control still runs inside the tool on every invocation rather than only
9191
# under `go test`, precisely because this consumer never runs that
9292
# module's tests.
93+
#
94+
# ⛔ `--root .`, NOT `--root layouts`, since v0.5.0. This site states the
95+
# total in THREE places, and `layouts/` holds two of them. The third is
96+
# hugo.toml's `params.phases[].blurb` -- prose Hugo renders into the page
97+
# like any other -- and it read 23,481 for 26 days under a green check,
98+
# because neither the tool's `.md`/`.html` filter nor this root could
99+
# reach it. v0.5.0 reads .toml; widening the root is what puts the third
100+
# copy in the denominator. It checks 5 claims now, not 4.
93101
- name: The stated conformance total matches rbgo's gate
94-
run: go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.4.0 --root layouts
102+
run: go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.5.0 --root .
95103

96104
- name: Build landing page
97105
run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"

0 commit comments

Comments
 (0)