Skip to content

Commit bc2a830

Browse files
jkatadasnicoll
authored andcommitted
Fix duplicate slashes in URL links
See gh-21108
1 parent f6d8c7d commit bc2a830

File tree

5 files changed

+44
-44
lines changed

5 files changed

+44
-44
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
:test-examples: ../test/java/org/springframework/boot/docs
2525

2626
:spring-boot-code: https://github.com/{github-repo}/tree/{github-tag}
27-
:spring-boot-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/api/
27+
:spring-boot-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/api
2828
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference
2929
:spring-boot-master-code: https://github.com/{github-repo}/tree/master
3030
:spring-boot-current-docs: https://docs.spring.io/spring-boot/docs/current/reference/
31-
:spring-boot-actuator-restapi: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/actuator-api/
31+
:spring-boot-actuator-restapi: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/actuator-api
3232
:spring-boot-maven-plugin-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/reference/html/
3333
:spring-boot-maven-plugin-pdfdocs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/reference/pdf/spring-boot-maven-plugin-reference.pdf
3434
:spring-boot-maven-plugin-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/maven-plugin/api/
@@ -82,8 +82,8 @@
8282
:spring-data-solr-docs: https://docs.spring.io/spring-data/solr/docs/{spring-data-solr-version}/reference/html/
8383
:spring-framework: https://spring.io/projects/spring-framework
8484
:spring-framework-api: https://docs.spring.io/spring/docs/{spring-framework-version}/javadoc-api/org/springframework
85-
:spring-framework-docs: https://docs.spring.io/spring/docs/{spring-framework-version}/spring-framework-reference/
86-
:spring-initializr-docs: https://docs.spring.io/initializr/docs/current/reference/html/
85+
:spring-framework-docs: https://docs.spring.io/spring/docs/{spring-framework-version}/spring-framework-reference
86+
:spring-initializr-docs: https://docs.spring.io/initializr/docs/current/reference/html
8787
:spring-integration: https://spring.io/projects/spring-integration
8888
:spring-integration-docs: https://docs.spring.io/spring-integration/docs/{spring-integration-version}/reference/html/
8989
:spring-restdocs: https://spring.io/projects/spring-restdocs
@@ -101,7 +101,7 @@
101101
:dependency-management-plugin-code: https://github.com/spring-gradle-plugins/dependency-management-plugin
102102
:gradle-docs: https://docs.gradle.org/current/userguide
103103
:hibernate-docs: https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html
104-
:java-api: https://docs.oracle.com/javase/8/docs/api/
104+
:java-api: https://docs.oracle.com/javase/8/docs/api
105105
:jetty-docs: https://www.eclipse.org/jetty/documentation/{jetty-version}
106106
:jooq-docs: https://www.jooq.org/doc/{jooq-version}/manual-single-page
107107
:junit5-docs: https://junit.org/junit5/docs/current/user-guide

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Our primary goals are:
3030
[[getting-started-system-requirements]]
3131
== System Requirements
3232
Spring Boot {spring-boot-version} requires https://www.java.com[Java 8] and is compatible up to Java 14 (included).
33-
{spring-framework-docs}[Spring Framework {spring-framework-version}] or above is also required.
33+
{spring-framework-docs}/[Spring Framework {spring-framework-version}] or above is also required.
3434

3535
Explicit build support is provided for the following build tools:
3636

@@ -522,7 +522,7 @@ It tells Spring that any HTTP request with the `/` path should be mapped to the
522522
The `@RestController` annotation tells Spring to render the resulting string directly back to the caller.
523523

524524
TIP: The `@RestController` and `@RequestMapping` annotations are Spring MVC annotations (they are not specific to Spring Boot).
525-
See the {spring-framework-docs}web.html#mvc[MVC section] in the Spring Reference Documentation for more details.
525+
See the {spring-framework-docs}/web.html#mvc[MVC section] in the Spring Reference Documentation for more details.
526526

527527

528528

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ There are also non-standard headers, like `X-Forwarded-Host`, `X-Forwarded-Port`
794794
If the proxy adds the commonly used `X-Forwarded-For` and `X-Forwarded-Proto` headers, setting `server.forward-headers-strategy` to `NATIVE` is enough to support those.
795795
With this option, the Web servers themselves natively support this feature; you can check their specific documentation to learn about specific behavior.
796796

797-
If this is not enough, Spring Framework provides a {spring-framework-docs}web.html#filters-forwarded-headers[ForwardedHeaderFilter].
797+
If this is not enough, Spring Framework provides a {spring-framework-docs}/web.html#filters-forwarded-headers[ForwardedHeaderFilter].
798798
You can register it as a Servlet Filter in your application by setting `server.forward-headers-strategy` is set to `FRAMEWORK`.
799799

800800
NOTE: If your application runs in Cloud Foundry or Heroku, the configprop:server.forward-headers-strategy[] property defaults to `NATIVE`.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ If your application is a web application (Spring MVC, Spring WebFlux, or Jersey)
147147
Requires a dependency on `micrometer-registry-prometheus`.
148148
|===
149149

150-
To learn more about the Actuator's endpoints and their request and response formats, please refer to the separate API documentation ({spring-boot-actuator-restapi}html/[HTML] or {spring-boot-actuator-restapi}pdf/spring-boot-actuator-web-api.pdf[PDF]).
150+
To learn more about the Actuator's endpoints and their request and response formats, please refer to the separate API documentation ({spring-boot-actuator-restapi}/html/[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]).
151151

152152

153153

@@ -363,7 +363,7 @@ A typical Spring Security configuration might look something like the following
363363

364364
The preceding example uses `EndpointRequest.toAnyEndpoint()` to match a request to any endpoint and then ensures that all have the `ENDPOINT_ADMIN` role.
365365
Several other matcher methods are also available on `EndpointRequest`.
366-
See the API documentation ({spring-boot-actuator-restapi}html[HTML] or {spring-boot-actuator-restapi}pdf/spring-boot-actuator-web-api.pdf[PDF]) for details.
366+
See the API documentation ({spring-boot-actuator-restapi}/html[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]) for details.
367367

368368
If you deploy applications behind a firewall, you may prefer that all your actuator endpoints can be accessed without requiring authentication.
369369
You can do so by changing the configprop:management.endpoints.web.exposure.include[] property, as follows:

0 commit comments

Comments
 (0)