Rework links to Spring Boot in reference docs

Closes gh-33776
This commit is contained in:
Brian Clozel
2024-10-23 16:10:37 +02:00
parent d8a6423c0c
commit 20d21a8251
11 changed files with 13 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ Most of the code samples of the reference documentation are
provided in Kotlin in addition to Java.
The easiest way to build a Spring application with Kotlin is to leverage Spring Boot and
its {spring-boot-docs}/boot-features-kotlin.html[dedicated Kotlin support].
its {spring-boot-docs-ref}/features/kotlin.html[dedicated Kotlin support].
{spring-site-guides}/tutorials/spring-boot-kotlin/[This comprehensive tutorial]
will teach you how to build Spring Boot applications with Kotlin using https://start.spring.io/#!language=kotlin&type=gradle-project[start.spring.io].

View File

@@ -186,7 +186,7 @@ Therefore, if you wish to use the `@Value` annotation in Kotlin, you need to esc
character by writing pass:q[`@Value("\${property}")`].
NOTE: If you use Spring Boot, you should probably use
{spring-boot-docs}/boot-features-external-config.html#boot-features-external-config-typesafe-configuration-properties[`@ConfigurationProperties`]
{spring-boot-docs-ref}/features/external-config.html#features.external-config.typesafe-configuration-properties[`@ConfigurationProperties`]
instead of `@Value` annotations.
As an alternative, you can customize the property placeholder prefix by declaring the
@@ -323,7 +323,7 @@ The recommended testing framework is https://junit.org/junit5/[JUnit 5] along wi
https://mockk.io/[Mockk] for mocking.
NOTE: If you are using Spring Boot, see
{spring-boot-docs}/features.html#features.kotlin.testing[this related documentation].
{spring-boot-docs-ref}/features/kotlin.html#features.kotlin.testing[this related documentation].
[[constructor-injection]]