Skip to content

Commit bbf4950

Browse files
author
Oliver B. Fischer
committed
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.
1 parent aa62e3d commit bbf4950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ Spring Boot will automatically find and load `application.properties` and `appli
105105
.. The classpath `/config` package
106106
. From the current directory
107107
.. The current directory
108-
.. The `/config` subdirectory in the current directory
109-
.. Immediate child directories of the `/config` subdirectory
108+
.. The `config/` subdirectory in the current directory
109+
.. Immediate child directories of the `config/` subdirectory
110110

111111
The list is ordered by precedence (with values from lower items overriding earlier ones).
112112
Documents from the loaded files are added as `PropertySources` to the Spring `Environment`.

0 commit comments

Comments
 (0)