mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
The docs workflow cached `Consistencyplots/` under a static key, so
fluids added after the cache was first populated (e.g. Chlorine in
ee1e5416) never got consistency plots generated — producing dead
links like `.../Chlorine.html#consistency-plots`.
- `fluid_properties.Consistency.py`: skip fluids whose PNG already
exists unless `COOLPROP_FORCE_CONSISTENCY=1`, so a cache-restored
run is a cheap no-op that still picks up newly added fluids.
- `scripts/__init__.py`: move Consistency.py into the always-run
task list (incremental check makes it safe); `full_rebuild=True`
now sets `COOLPROP_FORCE_CONSISTENCY=1` to preserve the
force-regenerate semantics.
- `docs_docker-run.yml`: cache key now hashes `dev/fluids/*.json` and
`dev/incompressible_liquids/json/*.json`, with a `cached-props-`
restore-key so adding a fluid invalidates the exact-key match and
triggers an incremental regeneration seeded from the previous cache.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.0 KiB
4.0 KiB