From 6e4e76597a03fcdb372578da4e1db9b874169b41 Mon Sep 17 00:00:00 2001 From: "Oliver B. Fischer" Date: Sat, 3 Sep 2022 09:37:29 +0000 Subject: [PATCH] Make the path of the config directory better understandable Currently, the documentation relates to the subdirectory for external configurations as `/config`. Read as UNIX path, the leading slash could be read as reference to the root directory `/`. This commit updates the documentation to use 'config/' instead. See gh-32224 --- .../src/docs/asciidoc/features/external-config.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index 5c767c6cb7d8..a75e31d3b78d 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -108,8 +108,8 @@ Spring Boot will automatically find and load `application.properties` and `appli .. The classpath `/config` package . From the current directory .. The current directory -.. The `/config` subdirectory in the current directory -.. Immediate child directories of the `/config` subdirectory +.. The `config/` subdirectory in the current directory +.. Immediate child directories of the `config/` subdirectory The list is ordered by precedence (with values from lower items overriding earlier ones). Documents from the loaded files are added as `PropertySources` to the Spring `Environment`.