Skip to content

Commit 7c4ad68

Browse files
TMHSDigitalclaude
andcommitted
fix: stop the gallery calling showcase pieces examples
The gallery grid concatenates 51 examples and 26 showcase pieces, then labelled all 77 with the example noun: the count chip read "77 examples", every showcase card carried aria-label "<name> example detail page" and a "View example" link, each showcase detail page titled itself "<name> — Examples" and claimed "Rendered headless by the example itself", and the landing page offered to "Browse all 51 examples in the gallery" for a page holding 77 cards. The two categories are distinct everywhere else in the repository; the site was the last place conflating them. Derive the noun per entry from the `showcase` tag instead of hardcoding it (`kind_noun`), and split the counts: - count chip and its live-updating JS: "51 examples, 26 showcase pieces" - card aria-label and card link: "example" or "showcase piece" per card - showcase detail pages title as "— Showcase —" and credit "the showcase piece itself" - gallery title "Examples Gallery" -> "Examples and Showcase"; description now says showcase pieces share the grid and carry the tag - landing CTA names both counts - search placeholder, chip toolbar, and empty-state text no longer say "examples" for a grid holding both - the generator's summary line prints the breakdown Verified against the generated HTML, not the source JSON: 51 "example" and 26 "showcase piece" nouns on the index, correct titles on a showcase detail page and an example detail page, no residual "Examples Gallery" string, and dotted-path alt text still intact. Closes #187 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent fb333e0 commit 7c4ad68

81 files changed

Lines changed: 301 additions & 267 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/gallery/anvil/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<title>anvil — Examples — Blender Developer Tools</title>
6+
<title>anvil — Showcase — Blender Developer Tools</title>
77
<meta name="description" content="A procedural blacksmith anvil on a timber stump through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
88
<link rel="canonical" href="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/anvil/" />
99
<link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml" />
1010
<meta name="theme-color" content="#1a1b1e" />
1111
<meta property="og:type" content="website" />
12-
<meta property="og:title" content="anvil — Examples — Blender Developer Tools" />
12+
<meta property="og:title" content="anvil — Showcase — Blender Developer Tools" />
1313
<meta property="og:description" content="A procedural blacksmith anvil on a timber stump through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1414
<meta property="og:url" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/anvil/" />
1515
<meta property="og:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/anvil-hero.webp" />
1616
<meta name="twitter:card" content="summary_large_image" />
17-
<meta name="twitter:title" content="anvil — Examples — Blender Developer Tools" />
17+
<meta name="twitter:title" content="anvil — Showcase — Blender Developer Tools" />
1818
<meta name="twitter:description" content="A procedural blacksmith anvil on a timber stump through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1919
<meta name="twitter:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/anvil-hero.webp" />
2020
<style>
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>
@@ -252,7 +252,7 @@ <h1>anvil</h1>
252252
<button class="detail-hero" id="heroZoom" type="button" aria-label="Zoom anvil render">
253253
<img src="../assets/anvil-hero.webp" alt="anvil render" width="1280" height="720" />
254254
</button>
255-
<p class="zoom-hint">Rendered headless by the example itself — click to zoom.</p>
255+
<p class="zoom-hint">Rendered headless by the showcase piece itself — click to zoom.</p>
256256
<div class="callout"><span class="tag">witnesses</span> Recomputed: 2988 tris, two materials with 1040 wood and 822 metal faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.621×0.414×0.489 m, LOD ratios in band, convex collider 134 tris, hygiene 0, 16 grounded staves, hoop bite 0.003 m, foot-on-head gap 0.003 m, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-staves 16; --float-anvil 17; --round-band 18.</div>
257257
<div class="runline">
258258
<pre id="runCmd">blender --background --python showcase/anvil/anvil.py --</pre>

‎docs/gallery/armature-bend/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

‎docs/gallery/attribute-domain-shear/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

‎docs/gallery/bake-normal-high-to-low/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

‎docs/gallery/bmesh-gear/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

‎docs/gallery/campfire/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<title>campfire — Examples — Blender Developer Tools</title>
6+
<title>campfire — Showcase — Blender Developer Tools</title>
77
<meta name="description" content="A procedural campfire through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
88
<link rel="canonical" href="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/campfire/" />
99
<link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml" />
1010
<meta name="theme-color" content="#1a1b1e" />
1111
<meta property="og:type" content="website" />
12-
<meta property="og:title" content="campfire — Examples — Blender Developer Tools" />
12+
<meta property="og:title" content="campfire — Showcase — Blender Developer Tools" />
1313
<meta property="og:description" content="A procedural campfire through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1414
<meta property="og:url" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/campfire/" />
1515
<meta property="og:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/campfire-hero.webp" />
1616
<meta name="twitter:card" content="summary_large_image" />
17-
<meta name="twitter:title" content="campfire — Examples — Blender Developer Tools" />
17+
<meta name="twitter:title" content="campfire — Showcase — Blender Developer Tools" />
1818
<meta name="twitter:description" content="A procedural campfire through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1919
<meta name="twitter:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/campfire-hero.webp" />
2020
<style>
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>
@@ -252,7 +252,7 @@ <h1>campfire</h1>
252252
<button class="detail-hero" id="heroZoom" type="button" aria-label="Zoom campfire render">
253253
<img src="../assets/campfire-hero.webp" alt="campfire render" width="1280" height="720" />
254254
</button>
255-
<p class="zoom-hint">Rendered headless by the example itself — click to zoom.</p>
255+
<p class="zoom-hint">Rendered headless by the showcase piece itself — click to zoom.</p>
256256
<div class="callout"><span class="tag">witnesses</span> Recomputed: 2200 tris, three materials with 216 wood, 48 ash and 1304 stone faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.807×0.808×0.404 m, LOD ratios in band, convex collider 198 tris, hygiene 0, 14 grounded bottom stones, teepee kiss 0.00001 m, course seat 0, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-stones 16; --float-logs 17; --gap-courses 18.</div>
257257
<div class="runline">
258258
<pre id="runCmd">blender --background --python showcase/campfire/campfire.py --</pre>

‎docs/gallery/car-mirror-symmetry/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

‎docs/gallery/cart/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<title>cart — Examples — Blender Developer Tools</title>
6+
<title>cart — Showcase — Blender Developer Tools</title>
77
<meta name="description" content="A procedural two-wheel wooden cart through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
88
<link rel="canonical" href="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/cart/" />
99
<link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml" />
1010
<meta name="theme-color" content="#1a1b1e" />
1111
<meta property="og:type" content="website" />
12-
<meta property="og:title" content="cart — Examples — Blender Developer Tools" />
12+
<meta property="og:title" content="cart — Showcase — Blender Developer Tools" />
1313
<meta property="og:description" content="A procedural two-wheel wooden cart through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1414
<meta property="og:url" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/cart/" />
1515
<meta property="og:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/cart-hero.webp" />
1616
<meta name="twitter:card" content="summary_large_image" />
17-
<meta name="twitter:title" content="cart — Examples — Blender Developer Tools" />
17+
<meta name="twitter:title" content="cart — Showcase — Blender Developer Tools" />
1818
<meta name="twitter:description" content="A procedural two-wheel wooden cart through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1919
<meta name="twitter:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/cart-hero.webp" />
2020
<style>
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>
@@ -252,7 +252,7 @@ <h1>cart</h1>
252252
<button class="detail-hero" id="heroZoom" type="button" aria-label="Zoom cart render">
253253
<img src="../assets/cart-hero.webp" alt="cart render" width="1280" height="720" />
254254
</button>
255-
<p class="zoom-hint">Rendered headless by the example itself — click to zoom.</p>
255+
<p class="zoom-hint">Rendered headless by the showcase piece itself — click to zoom.</p>
256256
<div class="callout"><span class="tag">witnesses</span> Recomputed: 2600 tris, two materials with metal and wood face floors, UVs in 0..1 with zero AABB overlap, outer AABB 1.539×0.749×0.640 m, LOD ratios in band, convex collider 122 tris, hygiene zero (loose, non-manifold, doubles, n-gons), grounded zmin, non-empty glTF. --skip-decimate exits 9 on the LOD1 ratio budget; --lift-z exits 16 on the grounded budget.</div>
257257
<div class="runline">
258258
<pre id="runCmd">blender --background --python showcase/cart/cart.py --</pre>

‎docs/gallery/chopping-block/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<title>chopping-block — Examples — Blender Developer Tools</title>
6+
<title>chopping-block — Showcase — Blender Developer Tools</title>
77
<meta name="description" content="A procedural log-round chopping block with an iron hoop and a felling axe buried in the sawn face, through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
88
<link rel="canonical" href="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/chopping-block/" />
99
<link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml" />
1010
<meta name="theme-color" content="#1a1b1e" />
1111
<meta property="og:type" content="website" />
12-
<meta property="og:title" content="chopping-block — Examples — Blender Developer Tools" />
12+
<meta property="og:title" content="chopping-block — Showcase — Blender Developer Tools" />
1313
<meta property="og:description" content="A procedural log-round chopping block with an iron hoop and a felling axe buried in the sawn face, through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1414
<meta property="og:url" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/chopping-block/" />
1515
<meta property="og:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/chopping-block-hero.webp" />
1616
<meta name="twitter:card" content="summary_large_image" />
17-
<meta name="twitter:title" content="chopping-block — Examples — Blender Developer Tools" />
17+
<meta name="twitter:title" content="chopping-block — Showcase — Blender Developer Tools" />
1818
<meta name="twitter:description" content="A procedural log-round chopping block with an iron hoop and a felling axe buried in the sawn face, through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract." />
1919
<meta name="twitter:image" content="https://tmhsdigital.github.io/Blender-Developer-Tools/gallery/assets/chopping-block-hero.webp" />
2020
<style>
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>
@@ -252,7 +252,7 @@ <h1>chopping-block</h1>
252252
<button class="detail-hero" id="heroZoom" type="button" aria-label="Zoom chopping-block render">
253253
<img src="../assets/chopping-block-hero.webp" alt="chopping-block render" width="1280" height="720" />
254254
</button>
255-
<p class="zoom-hint">Rendered headless by the example itself — click to zoom.</p>
255+
<p class="zoom-hint">Rendered headless by the showcase piece itself — click to zoom.</p>
256256
<div class="callout"><span class="tag">witnesses</span> Recomputed: 1472 tris, three materials with 252 bark / 252 grain / 288 metal faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.526 x 0.526 x 1.012 m, LOD ratios in band, convex collider 434 tris, non-empty glTF. Hygiene: zero non-manifold edges, loose geometry, doubles, zero-area faces, n-gons and coplanar disjoint face pairs, grounded at zmin 0, log plumb to 1e-7. Joint fit: four shells, 18.0 mm haft clearance in the eye, 78.7 mm bit bury, hoop biting 3.7-4.0 mm into the log on every segment. --fat-haft exits 17 on eye clearance; --round-band exits 18 on the hoop bite band.</div>
257257
<div class="runline">
258258
<pre id="runCmd">blender --background --python showcase/chopping-block/chopping_block.py --</pre>

‎docs/gallery/collision-hull-proxy/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
<body>
240240
<a class="skip" href="#main">Skip to content</a>
241241
<div class="topbar">
242-
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples Gallery</a>
242+
<a class="back" href="../"><span aria-hidden="true">&larr;</span> Examples and Showcase</a>
243243
<div class="topbar-right">
244244
<a class="ghlink" href="https://github.com/TMHSDigital/Blender-Developer-Tools">GitHub</a>
245245
</div>

0 commit comments

Comments
 (0)