From 8276f893dfe90efce558636e79d530ea692979b9 Mon Sep 17 00:00:00 2001 From: Hamza Amrouche Date: Thu, 15 Feb 2024 12:15:20 +0100 Subject: [PATCH 1/2] Update path configuration to show an exemple in case of multiple path The current wording is suggesting that if we add one path if should add to the current project, which is not the case --- core/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/configuration.md b/core/configuration.md index bf22c6f94cd..c33eaf43067 100644 --- a/core/configuration.md +++ b/core/configuration.md @@ -92,8 +92,8 @@ api_platform: partial_parameter_name: 'partial' mapping: - # The list of paths with files or directories where the bundle will look for additional resource files. - paths: [] + # The list of paths with files or directories where the bundle will look for resource files. (if you use this, you need to add the current project path and the new one) + paths: ["%kernel.project_dir%/src", "%kernel.project_dir%/vendor/izi-by-edf/some-bundle/src"] # The list of your resources class directories. Defaults to the directories of the mapping paths but might differ. resource_class_directories: From 39c7d96001bd9f7449bbab9856d151a2db6de069 Mon Sep 17 00:00:00 2001 From: Alan Poulain Date: Tue, 14 Jan 2025 16:20:56 +0100 Subject: [PATCH 2/2] Update core/configuration.md --- core/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/configuration.md b/core/configuration.md index c33eaf43067..34ff15ea6fd 100644 --- a/core/configuration.md +++ b/core/configuration.md @@ -92,8 +92,8 @@ api_platform: partial_parameter_name: 'partial' mapping: - # The list of paths with files or directories where the bundle will look for resource files. (if you use this, you need to add the current project path and the new one) - paths: ["%kernel.project_dir%/src", "%kernel.project_dir%/vendor/izi-by-edf/some-bundle/src"] + # The list of paths with files or directories where the bundle will look for resource files (if you use this, you need to add the current project path and the new one) + paths: ["%kernel.project_dir%/src", "%kernel.project_dir%/vendor/foo-vendor/foo-bundle/src"] # The list of your resources class directories. Defaults to the directories of the mapping paths but might differ. resource_class_directories: