chore(docs): pipeline updates and Protected Areas guideline - #80
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-release review — partial batch
review/2026-09-20->test. A branch cut fromtestcarrying only the contentselected for this release, rather than all of
develop.What's in
Pipeline, CI and config — 20 files
Build-time media compression (
compress_media.py+ itsbuild-docs.shstep),which re-encodes document images as JPEG in the render tree only, so
DOCS/keeps the lossless originals. This is what brings the Protected Areas PDF from
550 MB to 68.9 MB, under GitHub's 100 MB per-file limit.
Also: grid-table realignment, the dangling-link Lua filter, the builder image
bumped to
quarto-doc-builder:1.0.5(adds ImageMagick),ruff.toml, andvalidate-pull-request.ymlextended to accept areview/*head intotest.Protected Areas guideline (#79) — 756 files
DOCS/Protected_Areas/PA21_Description_MappingFeatures_Guideline_v3.qmdplus377 media files, its
.llm_cacheentry and 377 image-description cache entries.The image cache is required, not incidental:
inject_image_descriptions.pykeysalt text on image md5, so without it the document renders with no alt text.
One frontmatter fix — 1 file
DOCS/High_Resolution_Layer/Small_Landscape_Features_2021_PUM_v1.qmd—testcarries
date: "16/09/2025", which fails the schema check.developalready hasdate: 2025-09-16. Included becausevalidate-qmd.ymlvalidates the whole treeon every PR into
test, so without it this PR cannot pass its own checks.What's held back on develop
7 documents and their media (231 files): the clcplus-core and filenaming
renames, the CDSE Migration dashboard, the editor manual, and the parsEO
dashboard. They stay on
developand can go in a later batch.Verification
Full
build-docs.shrun locally against this content: 36 PDFs, none over100 MB, 1886 image references with none dangling, image alt text preserved.
The same pipeline has since deployed cleanly to the
developenvironment.auto-merge.ymlsquashes on approval once checks pass.Title keeps a non-bump conventional-commit prefix (
chore); the release bump isdecided at the test -> main step.