Skip to content

Commit 2d9902f

Browse files
dreis2211snicoll
authored andcommitted
Fix link to Spring Integration Graph documentation
See gh-19992
1 parent 64def66 commit 2d9902f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,21 @@ test {
154154
outputs.dir("${buildDir}/generated-snippets")
155155
}
156156

157+
task dependencyVersions(type: org.springframework.boot.build.constraints.ExtractVersionConstraints) {
158+
enforcedPlatform(":spring-boot-project:spring-boot-dependencies")
159+
}
160+
161+
tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
162+
dependsOn dependencyVersions
163+
baseDirFollowsSourceDir()
164+
doFirst {
165+
def versionConstraints = dependencyVersions.versionConstraints
166+
def integrationVersion = versionConstraints["org.springframework.integration:spring-integration-core"]
167+
def integrationDocs = String.format("https://docs.spring.io/spring-integration/docs/%s/reference/html/", integrationVersion)
168+
attributes "spring-integration-docs": integrationDocs
169+
}
170+
}
171+
157172
asciidoctor {
158173
configurations "asciidoctorExtensions"
159174
dependsOn test

spring-boot-project/spring-boot-actuator-autoconfigure/src/docs/asciidoc/endpoints/integrationgraph.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include::{snippets}/integrationgraph/graph/http-response.adoc[]
2020
[[integrationgraph-retrieving-response-structure]]
2121
=== Response Structure
2222
The response contains all Spring Integration components used within the application, as well as the links between them.
23-
More information about the structure can be found in the https://docs.spring.io/spring-integration/reference/html/#integration-graph[reference documentation].
23+
More information about the structure can be found in the {spring-integration-docs}index-single.html#integration-graph[reference documentation].
2424

2525

2626

0 commit comments

Comments
 (0)