From adff24a6dadbd1ba721ae0c99b71df69107d79f5 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sat, 26 Oct 2024 14:58:45 +0200 Subject: [PATCH] feat: document image_directory, closes #409 --- wiki/docs/shopware-extension-yml-schema.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/docs/shopware-extension-yml-schema.md b/wiki/docs/shopware-extension-yml-schema.md index 3661e0f..0ca6ce4 100644 --- a/wiki/docs/shopware-extension-yml-schema.md +++ b/wiki/docs/shopware-extension-yml-schema.md @@ -132,6 +132,12 @@ store: # embedd an html or markdown file de: file:src/Resources/store/manual.md + # Similar to images, but automatically picks all files from that directory + # Use image_directory or images, not both + # The sorting of Go is used, so 10.png will be before 2.png + image_directory: 'src/Resources/store/images' + + # Can be only used, if image_directory is not defined images: - file: src/Resources/store/images/1.png # toggle visibility in that language