From bbf49505066e489277c0c964e0daad65b5e2ac78 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 The current 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 `/`. Therefore I would suggest to use `./config` to make it a little bit more understandable. This is of course not a major issue, but IMHO makes it a little bit more understandable. --- .../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 fc214e79187b..832a23c58b0a 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 @@ -105,8 +105,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`.