@@ -268,11 +268,10 @@ For each library, copy the preview images to the implementations directory for G
268268
269269``` bash
270270cp plots/{spec_id}/implementations/.update-preview/{library}/plot.png plots/{spec_id}/implementations/plot.png
271- # Process images (thumbnail + optimization)
271+ # Process images (optimization)
272272uv run python -m core.images process \
273273 plots/{spec_id}/implementations/plot.png \
274- plots/{spec_id}/implementations/plot.png \
275- plots/{spec_id}/implementations/plot_thumb.png
274+ plots/{spec_id}/implementations/plot.png
276275```
277276
278277Note: Since we process one library at a time for GCS upload, handle sequentially.
@@ -288,23 +287,18 @@ STAGING_PATH="gs://pyplots-images/staging/{spec_id}/{library}"
288287gsutil cp plots/{spec_id}/implementations/plot.png " ${STAGING_PATH} /plot.png"
289288gsutil acl ch -u AllUsers:R " ${STAGING_PATH} /plot.png" 2> /dev/null || true
290289
291- # Upload thumbnail
292- gsutil cp plots/{spec_id}/implementations/plot_thumb.png " ${STAGING_PATH} /plot_thumb.png"
293- gsutil acl ch -u AllUsers:R " ${STAGING_PATH} /plot_thumb.png" 2> /dev/null || true
294-
295290# Upload HTML if it exists (interactive libraries: plotly, bokeh, altair, highcharts, pygal, letsplot)
296291if [ -f " plots/{spec_id}/implementations/.update-preview/{library}/plot.html" ]; then
297292 gsutil cp " plots/{spec_id}/implementations/.update-preview/{library}/plot.html" " ${STAGING_PATH} /plot.html"
298293 gsutil acl ch -u AllUsers:R " ${STAGING_PATH} /plot.html" 2> /dev/null || true
299294fi
300295```
301296
302- Update ` preview_url ` and ` preview_thumb ` in the metadata YAML to point to the ** production** URLs
297+ Update ` preview_url ` in the metadata YAML to point to the ** production** URL
303298(matching ` impl-generate.yml ` — production URLs are set from the start, ` impl-merge.yml ` promotes
304299GCS files from staging to production on merge):
305300
306301- ` preview_url ` : ` https://storage.googleapis.com/pyplots-images/plots/{spec_id}/{library}/plot.png `
307- - ` preview_thumb ` : ` https://storage.googleapis.com/pyplots-images/plots/{spec_id}/{library}/plot_thumb.png `
308302
309303#### 6f. Clean Up Preview Directory
310304
@@ -637,8 +631,7 @@ Generate thumbnail and optimize:
637631``` bash
638632uv run python -m core.images process \
639633 plots/{SPEC_ID}/implementations/.update-preview/{LIBRARY}/plot.png \
640- plots/{SPEC_ID}/implementations/.update-preview/{LIBRARY}/plot.png \
641- plots/{SPEC_ID}/implementations/.update-preview/{LIBRARY}/plot_thumb.png
634+ plots/{SPEC_ID}/implementations/.update-preview/{LIBRARY}/plot.png
642635```
643636
644637### Step 7: Quality Evaluation & Local Repair Loop
0 commit comments