From dd7278e53843bbec57b480f7fd1c112b8fe20720 Mon Sep 17 00:00:00 2001 From: hip3r Date: Thu, 22 Feb 2024 15:20:01 +0100 Subject: [PATCH 1/2] /decaporg/decap-cms/issues/7102 documentation for publish mode possible values --- content/docs/configuration-options.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/configuration-options.md b/content/docs/configuration-options.md index 334be891..632d15b7 100644 --- a/content/docs/configuration-options.md +++ b/content/docs/configuration-options.md @@ -74,6 +74,8 @@ By default, all entries created or edited in the Decap CMS are committed directl publish_mode: editorial_workflow ``` +Allowed values for `publish_mode` are: `simple`, `editorial_workflow` or empty string (same as 'simple') + ## Media and Public Folders Decap CMS users can upload files to your repository using the Media Gallery. The following settings specify where these files are saved, and where they can be accessed on your built site. From 79c9f669e41d1f43bdff929ccb5309d575b7a770 Mon Sep 17 00:00:00 2001 From: hip3r Date: Wed, 23 Oct 2024 12:08:04 +0200 Subject: [PATCH 2/2] document remove_empty_image_field option --- content/docs/configuration-options.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/docs/configuration-options.md b/content/docs/configuration-options.md index 632d15b7..7491451d 100644 --- a/content/docs/configuration-options.md +++ b/content/docs/configuration-options.md @@ -222,6 +222,10 @@ slug: sanitize_replacement: "_" ``` +## Remove Empty Image Field + +The `remove_empty_image_field` option controls the handling of content for removed images. By default, removed image fields are saved as empty strings. When set to `true`, this option prevents the saving of fields for removed images. + ## Collections *This setting is required.*