Polish documentation title case

This commit is contained in:
Phillip Webb
2022-10-19 21:53:21 -07:00
parent 65bdcdb2a5
commit c416c17fe8
23 changed files with 44 additions and 44 deletions

View File

@@ -101,7 +101,7 @@ This means that the JSON cannot override properties from lower order property so
[[features.external-config.files]]
=== External Application Properties [[features.external-config.files]]
=== External Application Properties
Spring Boot will automatically find and load `application.properties` and `application.yaml` files from the following locations when your application starts:
. From the classpath
@@ -474,7 +474,7 @@ See the _<<howto#howto.properties-and-configuration.short-command-line-arguments
[[features.external-config.files.multi-document]]
==== Working with Multi-Document Files
==== Working With Multi-Document Files
Spring Boot allows you to split a single physical file into multiple logical documents which are each added independently.
Documents are processed in order, from top to bottom.
Later documents can override the properties defined in earlier ones.
@@ -567,7 +567,7 @@ If you need a secure way to store credentials and passwords, the https://cloud.s
[[features.external-config.yaml]]
=== Working with YAML
=== Working With YAML
https://yaml.org[YAML] is a superset of JSON and, as such, is a convenient format for specifying hierarchical configuration data.
The `SpringApplication` class automatically supports YAML as an alternative to properties whenever you have the https://github.com/snakeyaml/snakeyaml[SnakeYAML] library on your classpath.
@@ -680,7 +680,7 @@ TIP: See also the <<features#features.external-config.typesafe-configuration-pro
[[features.external-config.typesafe-configuration-properties.java-bean-binding]]
==== JavaBean properties binding
==== JavaBean Properties Binding
It is possible to bind a bean declaring standard JavaBean properties as shown in the following example:
[source,java,indent=0,subs="verbatim"]
@@ -721,7 +721,7 @@ Finally, only standard Java Bean properties are considered and binding on static
[[features.external-config.typesafe-configuration-properties.constructor-binding]]
==== Constructor binding
==== Constructor Binding
The example in the previous section can be rewritten in an immutable fashion as shown in the following example:
[source,java,indent=0,subs="verbatim"]
@@ -760,7 +760,7 @@ For consistency with properties of other types, if you do declare an `Optional`
[[features.external-config.typesafe-configuration-properties.enabling-annotated-types]]
==== Enabling @ConfigurationProperties-annotated types
==== Enabling @ConfigurationProperties-annotated Types
Spring Boot provides infrastructure to bind `@ConfigurationProperties` types and register them as beans.
You can either enable configuration properties on a class-by-class basis or enable configuration property scanning that works in a similar manner to component scanning.
@@ -798,7 +798,7 @@ If you still want to inject other beans using the constructor, the configuration
[[features.external-config.typesafe-configuration-properties.using-annotated-types]]
==== Using @ConfigurationProperties-annotated types
==== Using @ConfigurationProperties-annotated Types
This style of configuration works particularly well with the `SpringApplication` external YAML configuration, as shown in the following example:
[source,yaml,indent=0,subs="verbatim"]
@@ -941,7 +941,7 @@ For example, binding `a.b=c` to `Map<String, Object>` will return a Map with the
[[features.external-config.typesafe-configuration-properties.relaxed-binding.environment-variables]]
===== Binding from Environment Variables
===== Binding From Environment Variables
Most operating systems impose strict rules around the names that can be used for environment variables.
For example, Linux shell variables can contain only letters (`a` to `z` or `A` to `Z`), numbers (`0` to `9`) or the underscore character (`_`).
By convention, Unix shell variables will also have their names in UPPERCASE.
@@ -1117,7 +1117,7 @@ Doing so gives a transparent upgrade path while supporting a much richer format.
[[features.external-config.typesafe-configuration-properties.conversion.periods]]
===== Converting periods
===== Converting Periods
In addition to durations, Spring Boot can also work with `java.time.Period` type.
The following formats can be used in application properties:

View File

@@ -1,5 +1,5 @@
[[features.kotlin]]
== Kotlin support
== Kotlin Support
https://kotlinlang.org[Kotlin] is a statically-typed language targeting the JVM (and other platforms) which allows writing concise and elegant code while providing {kotlin-docs}java-interop.html[interoperability] with existing libraries written in Java.
Spring Boot provides Kotlin support by leveraging the support in other Spring projects such as Spring Framework, Spring Data, and Reactor.

View File

@@ -171,7 +171,7 @@ include::{docs-java}/features/testing/springbootapplications/usingapplicationarg
[[features.testing.spring-boot-applications.with-mock-environment]]
==== Testing with a mock environment
==== Testing With a Mock Environment
By default, `@SpringBootTest` does not start the server but instead sets up a mock environment for testing web endpoints.
With Spring MVC, we can query our web endpoints using {spring-framework-docs}/testing.html#spring-mvc-test-framework[`MockMvc`] or `WebTestClient`, as shown in the following example:
@@ -203,7 +203,7 @@ If you need to test these lower-level concerns, you can start a fully running se
[[features.testing.spring-boot-applications.with-running-server]]
==== Testing with a running server
==== Testing With a Running Server
If you need to start a full running server, we recommend that you use random ports.
If you use `@SpringBootTest(webEnvironment=WebEnvironment.RANDOM_PORT)`, an available port is picked at random each time your test runs.
@@ -710,7 +710,7 @@ It can also be used to configure the host, scheme, and port that appears in any
[[features.testing.spring-boot-applications.autoconfigured-spring-restdocs.with-mock-mvc]]
===== Auto-configured Spring REST Docs Tests with Mock MVC
===== Auto-configured Spring REST Docs Tests With Mock MVC
`@AutoConfigureRestDocs` customizes the `MockMvc` bean to use Spring REST Docs when testing servlet-based web applications.
You can inject it by using `@Autowired` and use it in your tests as you normally would when using Mock MVC and Spring REST Docs, as shown in the following example:
@@ -738,7 +738,7 @@ include::{docs-java}/features/testing/springbootapplications/autoconfiguredsprin
[[features.testing.spring-boot-applications.autoconfigured-spring-restdocs.with-web-test-client]]
===== Auto-configured Spring REST Docs Tests with WebTestClient
===== Auto-configured Spring REST Docs Tests With WebTestClient
`@AutoConfigureRestDocs` can also be used with `WebTestClient` when testing reactive web applications.
You can inject it by using `@Autowired` and use it in your tests as you normally would when using `@WebFluxTest` and Spring REST Docs, as shown in the following example:
@@ -765,7 +765,7 @@ include::{docs-java}/features/testing/springbootapplications/autoconfiguredsprin
[[features.testing.spring-boot-applications.autoconfigured-spring-restdocs.with-rest-assured]]
===== Auto-configured Spring REST Docs Tests with REST Assured
===== Auto-configured Spring REST Docs Tests With REST Assured
`@AutoConfigureRestDocs` makes a `RequestSpecification` bean, preconfigured to use Spring REST Docs, available to your tests.
You can inject it by using `@Autowired` and use it in your tests as you normally would when using REST Assured and Spring REST Docs, as shown in the following example: