Skip to content

Commit a87a904

Browse files
author
jkatada
committed
Fix duplicate slashes in URL links
1 parent 6ccba24 commit a87a904

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/DocumentAutoConfigurationClasses.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private void writeTable(AutoConfiguration autoConfigurationClasses) throws IOExc
9191
writer.println();
9292
writer.printf("| {spring-boot-code}/spring-boot-project/%s/src/main/java/%s.java[`%s`]%n",
9393
autoConfigurationClasses.module, autoConfigurationClass.path, autoConfigurationClass.name);
94-
writer.printf("| {spring-boot-api}/%s.html[javadoc]%n", autoConfigurationClass.path);
94+
writer.printf("| {spring-boot-api}%s.html[javadoc]%n", autoConfigurationClass.path);
9595
}
9696

9797
writer.println("|===");

spring-boot-project/spring-boot-docs/src/docs/asciidoc/attributes.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@
3737
:spring-boot-gradle-plugin-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/gradle-plugin/api/
3838

3939
:spring-boot-module-code: {spring-boot-code}/spring-boot-project/spring-boot/src/main/java/org/springframework/boot
40-
:spring-boot-module-api: {spring-boot-api}/org/springframework/boot
40+
:spring-boot-module-api: {spring-boot-api}org/springframework/boot
4141
:spring-boot-autoconfigure-module-code: {spring-boot-code}/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure
42-
:spring-boot-autoconfigure-module-api: {spring-boot-api}/org/springframework/boot/autoconfigure
42+
:spring-boot-autoconfigure-module-api: {spring-boot-api}org/springframework/boot/autoconfigure
4343
:spring-boot-actuator-module-code: {spring-boot-code}/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate
44-
:spring-boot-actuator-module-api: {spring-boot-api}/org/springframework/boot/actuate
44+
:spring-boot-actuator-module-api: {spring-boot-api}org/springframework/boot/actuate
4545
:spring-boot-actuator-autoconfigure-module-code: {spring-boot-code}/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure
46-
:spring-boot-actuator-autoconfigure-module-api: : {spring-boot-api}/org/springframework/boot/actuate/autoconfigure
46+
:spring-boot-actuator-autoconfigure-module-api: : {spring-boot-api}org/springframework/boot/actuate/autoconfigure
4747
:spring-boot-cli-module-code: {spring-boot-code}/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli
48-
:spring-boot-cli-module-api: {spring-boot-api}/org/springframework/boot/cli
48+
:spring-boot-cli-module-api: {spring-boot-api}org/springframework/boot/cli
4949
:spring-boot-devtools-module-code: {spring-boot-code}/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools
50-
:spring-boot-devtools-module-api: {spring-boot-api}/org/springframework/boot/devtools
50+
:spring-boot-devtools-module-api: {spring-boot-api}org/springframework/boot/devtools
5151
:spring-boot-test-module-code: {spring-boot-code}/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test
52-
:spring-boot-test-module-api: {spring-boot-api}/org/springframework/boot/test
52+
:spring-boot-test-module-api: {spring-boot-api}org/springframework/boot/test
5353
:spring-boot-test-autoconfigure-module-code: {spring-boot-code}/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure
54-
:spring-boot-test-autoconfigure-module-api: {spring-boot-api}/org/springframework/boot/test/autoconfigure
54+
:spring-boot-test-autoconfigure-module-api: {spring-boot-api}org/springframework/boot/test/autoconfigure
5555

5656
:spring-amqp-api: https://docs.spring.io/spring-amqp/docs/{spring-amqp-version}/api/org/springframework/amqp
5757
:spring-batch: https://spring.io/projects/spring-batch

spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ If you need to solve a specific problem, check there first.
344344
345345
You can shortcut the steps below by going to https://start.spring.io and choosing the "Web" starter from the dependencies searcher.
346346
Doing so generates a new project structure so that you can <<getting-started-first-application-code,start coding right away>>.
347-
Check the {spring-initializr-docs}/#user-guide[Spring Initializr documentation] for more details.
347+
Check the {spring-initializr-docs}#user-guide[Spring Initializr documentation] for more details.
348348
====
349349

350350
Before we begin, open a terminal and run the following commands to ensure that you have valid versions of Java and Maven installed:

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ For example, `health` is exposed as `/actuator/health`.
11261126
TIP: Actuator is supported natively with Spring MVC, Spring WebFlux, and Jersey.
11271127
If both Jersey and Spring MVC are available, Spring MVC will be used.
11281128

1129-
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi}/html[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]).
1129+
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi}html[HTML] or {spring-boot-actuator-restapi}pdf/spring-boot-actuator-web-api.pdf[PDF]).
11301130

11311131

11321132

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ Spring Boot has dedicated support for expressing durations.
14181418
If you expose a `java.time.Duration` property, the following formats in application properties are available:
14191419

14201420
* A regular `long` representation (using milliseconds as the default unit unless a `@DurationUnit` has been specified)
1421-
* The standard ISO-8601 format {java-api}/java/time/Duration.html#parse-java.lang.CharSequence-[used by `java.time.Duration`]
1421+
* The standard ISO-8601 format {java-api}java/time/Duration.html#parse-java.lang.CharSequence-[used by `java.time.Duration`]
14221422
* A more readable format where the value and the unit are coupled (e.g. `10s` means 10 seconds)
14231423

14241424
Consider the following example:
@@ -1656,7 +1656,7 @@ See "<<boot-features-external-config-profile-specific-properties>>" for details.
16561656
[[boot-features-logging]]
16571657
== Logging
16581658
Spring Boot uses https://commons.apache.org/logging[Commons Logging] for all internal logging but leaves the underlying log implementation open.
1659-
Default configurations are provided for {java-api}/java/util/logging/package-summary.html[Java Util Logging], https://logging.apache.org/log4j/2.x/[Log4J2], and https://logback.qos.ch/[Logback].
1659+
Default configurations are provided for {java-api}java/util/logging/package-summary.html[Java Util Logging], https://logging.apache.org/log4j/2.x/[Log4J2], and https://logback.qos.ch/[Logback].
16601660
In each case, loggers are pre-configured to use console output with optional file output also available.
16611661

16621662
By default, if you use the "`Starters`", Logback is used for logging.
@@ -6388,7 +6388,7 @@ include::{code-examples}/test/context/ApplicationArgumentsExampleTests.java[tag=
63886388
[[boot-features-testing-spring-boot-applications-testing-with-mock-environment]]
63896389
==== Testing with a mock environment
63906390
By default, `@SpringBootTest` does not start the server.
6391-
If you have web endpoints that you want to test against this mock environment, you can additionally configure {spring-framework-docs}/testing.html#spring-mvc-test-framework[`MockMvc`] as shown in the following example:
6391+
If you have web endpoints that you want to test against this mock environment, you can additionally configure {spring-framework-docs}testing.html#spring-mvc-test-framework[`MockMvc`] as shown in the following example:
63926392

63936393
[source,java,indent=0]
63946394
----
@@ -6728,7 +6728,7 @@ TIP: Sometimes writing Spring MVC tests is not enough; Spring Boot can help you
67286728

67296729
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-webflux-tests]]
67306730
==== Auto-configured Spring WebFlux Tests
6731-
To test that {spring-framework-docs}/web-reactive.html[Spring WebFlux] controllers are working as expected, you can use the `@WebFluxTest` annotation.
6731+
To test that {spring-framework-docs}web-reactive.html[Spring WebFlux] controllers are working as expected, you can use the `@WebFluxTest` annotation.
67326732
`@WebFluxTest` auto-configures the Spring WebFlux infrastructure and limits scanned beans to `@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, `WebFilter`, and `WebFluxConfigurer`.
67336733
Regular `@Component` beans are not scanned when the `@WebFluxTest` annotation is used.
67346734

0 commit comments

Comments
 (0)