From a974d8daeadd3e9c69940a6934bfdae7dfb7d5d6 Mon Sep 17 00:00:00 2001 From: Mateus Scheper Date: Wed, 19 Jun 2024 20:04:24 -0300 Subject: [PATCH 1/2] Improving readability Improving readability by adding ",". --- .../modules/how-to/pages/properties-and-configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/properties-and-configuration.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/properties-and-configuration.adoc index 40184bd008d4..0c33254c0250 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/properties-and-configuration.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/properties-and-configuration.adoc @@ -265,7 +265,7 @@ See "`xref:reference:features/profiles.adoc[Profiles]`" in the "`Spring Boot fea Spring Boot supports multi-document YAML and Properties files (see xref:reference:features/external-config.adoc#features.external-config.files.multi-document[Working With Multi-Document Files] for details) which can be activated conditionally based on the active profiles. If a document contains a `spring.config.activate.on-profile` key, then the profiles value (a comma-separated list of profiles or a profile expression) is fed into the Spring `Environment.acceptsProfiles()` method. -If the profile expression matches then that document is included in the final merge (otherwise, it is not), as shown in the following example: +If the profile expression matches, then that document is included in the final merge (otherwise, it is not), as shown in the following example: [configprops,yaml] ---- From 8fee414a87ada4df8da1ebd81c403c3d1163b113 Mon Sep 17 00:00:00 2001 From: Mateus Scheper Date: Wed, 19 Jun 2024 22:42:09 -0300 Subject: [PATCH 2/2] Adding missing parenthesis Adding missing parenthesis "(". --- .../src/docs/antora/modules/how-to/pages/webserver.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc index 79cd6e58bef8..9017b1f5321d 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc @@ -294,8 +294,8 @@ Undertow supports `h2c` and `h2` out of the box. [[howto.webserver.configure]] == Configure the Web Server -Generally, you should first consider using one of the many available configuration keys and customize your web server by adding new entries in your `application.properties` or `application.yaml` file. -See "`xref:properties-and-configuration.adoc#howto.properties-and-configuration.discover-build-in-options-for-external-properties[Discover Built-in Options for External Properties]`"). +Generally, you should first consider using one of the many available configuration keys and customize your web server by adding new entries in your `application.properties` or `application.yaml` file + (see "`xref:properties-and-configuration.adoc#howto.properties-and-configuration.discover-build-in-options-for-external-properties[Discover Built-in Options for External Properties]`"). The `server.{asterisk}` namespace is quite useful here, and it includes namespaces like `server.tomcat.{asterisk}`, `server.jetty.{asterisk}` and others, for server-specific features. See the list of xref:appendix:application-properties/index.adoc[Common Application Properties].