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 a308a85ae255..4da8b080bb26 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 @@ -470,10 +470,16 @@ For example, the following file has two logical documents: [source,yaml,indent=0,subs="verbatim"] ---- - spring.application.name: MyApp + spring: + application: + name: "MyApp" --- - spring.config.activate.on-cloud-platform: kubernetes - spring.application.name: MyCloudApp + spring: + config: + activate: + on-cloud-platform: kubernetes + application: + name: "MyCloudApp" ---- For `application.properties` files a special `#---` comment is used to mark the document splits: