From 55f66d68ee911908530e97660f83940578f3a07e Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 13 Aug 2026 13:20:48 +0700 Subject: [PATCH] chore(demo): render records card and count org repos The per-theme gallery pages embedded 15 SVGs and skipped records.svg, which the render step has produced since the card landed, while the index claimed every card was shown. Pair records with streak to match the profile README layout at tiennm99/tiennm99. Pass -include-org-repos so the gallery reflects repos under the author's orgs. --- .github/workflows/demo.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index ac2d2367..df1f422f 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -41,6 +41,7 @@ jobs: -themes all \ -tz Asia/Saigon \ -start-of-week monday \ + -include-org-repos \ -out demo - name: Write demo READMEs (index + per-theme) @@ -54,7 +55,7 @@ jobs: { echo "# ghstats demo gallery" echo - echo "Every card rendered for [\`$OWNER\`](https://github.com/$OWNER) in every supported theme. Click a theme to open its gallery page — each page embeds 15 SVGs, so only the theme you're reviewing is fetched." + echo "Every card rendered for [\`$OWNER\`](https://github.com/$OWNER) in every supported theme. Click a theme to open its gallery page — each page embeds 16 SVGs, so only the theme you're reviewing is fetched." echo echo "Auto-generated by [\`.github/workflows/demo.yml\`](../.github/workflows/demo.yml) on each push to \`main\`. Do not edit by hand." echo @@ -68,9 +69,9 @@ jobs: } > demo/README.md # Per-theme page mirrors the author profile README table layout at - # tiennm99/tiennm99 — singletons stacked two-per-row, streak spans - # the full width, then the four last-year/all-time pairs sit in - # consecutive rows under a shared header. + # tiennm99/tiennm99 — singletons stacked two-per-row, then the four + # last-year/all-time pairs sit in consecutive rows under a shared + # header. for theme in $themes; do dir="demo/$theme" [ -d "$dir" ] || continue @@ -85,19 +86,16 @@ jobs: cell "$2" printf '\n' } - row_span() { - printf '%s\n' "$1" "$1" - } { printf '# ghstats — %s\n\n' "$theme" printf '[← back to index](../README.md)\n\n' - printf 'Rendered for [`%s`](https://github.com/%s). 15 SVGs laid out to ' "$OWNER" "$OWNER" + printf 'Rendered for [`%s`](https://github.com/%s). 16 SVGs laid out to ' "$OWNER" "$OWNER" printf 'match the author profile README table.\n\n' printf '
\n\n\n' row_pair profile-details stats row_pair repos-per-language top-starred-repos row_pair contributions-by-year contributions-heatmap - row_span streak + row_pair records streak printf '\n' row_pair most-commit-language most-commit-language-all-time row_pair contributions contributions-all-time
Last yearAll time