diff --git a/app/views/pages/developer-guide/platformos-workflow/directory-structure/config.liquid b/app/views/pages/developer-guide/platformos-workflow/directory-structure/config.liquid index c2f3e048e..e1693f7fc 100644 --- a/app/views/pages/developer-guide/platformos-workflow/directory-structure/config.liquid +++ b/app/views/pages/developer-guide/platformos-workflow/directory-structure/config.liquid @@ -26,6 +26,7 @@ metadata: |sync_translations |false|If enabled, translations will be synchronized on each sync/deploy similarly to other resources, meaning if you remove a translation form a translation file and sync it, it will disappear from the Instance. It will also remove all translations from the deleted file. The default behaviour (for backwards compatibility) is that translations will not be deleted; in order to delete a translation one needs to explicitly call `admin_translation_unset` GraphQL mutation. This setting is compatible with `modules_that_allow_delete_on_deploy`. |html_format_exact_match |false|If enabled, platformOS will return 404 for all formats that have not been defined. For example, if app/views/pages/my-page.liquid exists, platformOS will render this page for multiple formats - `/my-page`, `/my-page.php`, `/my-page.asp`. Enabling this setting will render this page only for `/my-page`. |validations_for_graph_queries |false|When the feature is enabled, platformOS performs additional consistency validations for specific GraphQL queries, with a primary focus on mutations. These validations are designed to verify that the developer's queries express a valid and well-defined intent. By enforcing these consistency checks, platformOS helps maintain data integrity and prevents unintended or ambiguous mutations from being executed. This feature serves as an additional layer of protection, ensuring that the queries submitted by developers are semantically correct and align with the intended behavior of the application. +|redirect_trailing_slash |false|When this feature is enabled, platformOS automatically redirects pages with trailing forward slashes to their non-slash variants. This configuration is recommended for improving SEO and optimizing search engine indexing. Example `app/config.yml` file with recommended values: