From 8e28668b091f219031b50df3eb021b8e0f6e640b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 25 Feb 2026 10:39:07 +0100 Subject: [PATCH] docs: Regen and fix the imaging docshelper output Fixes #14562 --- docs/data/docs.yaml | 38 ++++++++++++++++++++++++++++++++++++-- resources/images/config.go | 2 +- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/docs/data/docs.yaml b/docs/data/docs.yaml index 9a0c0ae3d..478ecafb1 100644 --- a/docs/data/docs.yaml +++ b/docs/data/docs.yaml @@ -1242,12 +1242,24 @@ config: ignoreLogs: null ignoreVendorPaths: '' imaging: - bgColor: '#ffffff' + anchor: smart + bgColor: ffffff compression: lossy - hint: photo + exif: + disableDate: false + disableLatLong: false + excludeFields: GPS|Exif|Exposure[M|P|B]|Contrast|Resolution|Sharp|JPEG|Metering|Sensing|Saturation|ColorSpace|Flash|WhiteBalance + includeFields: '' + meta: + fields: + - '! *{GPS,Exif,Exposure[MPB],Contrast,Resolution,Sharp,JPEG,Metering,Sensing,Saturation,ColorSpace,Flash,WhiteBalance}*' + sources: + - exif + - iptc quality: 75 resampleFilter: box webp: + hint: photo method: 2 useSharpYuv: false languageCode: '' @@ -1403,6 +1415,10 @@ config: delimiter: . suffixes: - ttf + image/avif: + delimiter: . + suffixes: + - avif image/bmp: delimiter: . suffixes: @@ -1411,6 +1427,14 @@ config: delimiter: . suffixes: - gif + image/heic: + delimiter: . + suffixes: + - heic + image/heif: + delimiter: . + suffixes: + - heif image/jpeg: delimiter: . suffixes: @@ -3635,6 +3659,16 @@ tpl: Args: null Description: '' Examples: null + IsImageResourceProcessable: + Aliases: null + Args: null + Description: '' + Examples: null + IsImageResourceWithMeta: + Aliases: null + Args: null + Description: '' + Examples: null IsMap: Aliases: null Args: diff --git a/resources/images/config.go b/resources/images/config.go index ba5385b2e..6f90d4c56 100644 --- a/resources/images/config.go +++ b/resources/images/config.go @@ -241,7 +241,7 @@ func DecodeConfig(in map[string]any) (*config.ConfigNamespace[ImagingConfig, Ima i.ResampleFilter = filter - return i, nil, nil + return i, i.Imaging, nil } ns, err := config.DecodeNamespace[ImagingConfig](in, buildConfig) -- 2.39.5