Skip to content

Commit 6e4e765

Browse files
obfischersnicoll
authored andcommitted
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
1 parent 5cb23ae commit 6e4e765

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
@@ -108,8 +108,8 @@ Spring Boot will automatically find and load `application.properties` and `appli
108108
.. The classpath `/config` package
109109
. From the current directory
110110
.. The current directory
111-
.. The `/config` subdirectory in the current directory
112-
.. Immediate child directories of the `/config` subdirectory
111+
.. The `config/` subdirectory in the current directory
112+
.. Immediate child directories of the `config/` subdirectory
113113

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

0 commit comments

Comments
 (0)