Commit 2d9902f1 authored by dreis2211's avatar dreis2211 Committed by Stephane Nicoll

Fix link to Spring Integration Graph documentation

See gh-19992
parent 64def66d
...@@ -154,6 +154,21 @@ test { ...@@ -154,6 +154,21 @@ test {
outputs.dir("${buildDir}/generated-snippets") outputs.dir("${buildDir}/generated-snippets")
} }
task dependencyVersions(type: org.springframework.boot.build.constraints.ExtractVersionConstraints) {
enforcedPlatform(":spring-boot-project:spring-boot-dependencies")
}
tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
dependsOn dependencyVersions
baseDirFollowsSourceDir()
doFirst {
def versionConstraints = dependencyVersions.versionConstraints
def integrationVersion = versionConstraints["org.springframework.integration:spring-integration-core"]
def integrationDocs = String.format("https://docs.spring.io/spring-integration/docs/%s/reference/html/", integrationVersion)
attributes "spring-integration-docs": integrationDocs
}
}
asciidoctor { asciidoctor {
configurations "asciidoctorExtensions" configurations "asciidoctorExtensions"
dependsOn test dependsOn test
......
...@@ -20,7 +20,7 @@ include::{snippets}/integrationgraph/graph/http-response.adoc[] ...@@ -20,7 +20,7 @@ include::{snippets}/integrationgraph/graph/http-response.adoc[]
[[integrationgraph-retrieving-response-structure]] [[integrationgraph-retrieving-response-structure]]
=== Response Structure === Response Structure
The response contains all Spring Integration components used within the application, as well as the links between them. The response contains all Spring Integration components used within the application, as well as the links between them.
More information about the structure can be found in the https://docs.spring.io/spring-integration/reference/html/#integration-graph[reference documentation]. More information about the structure can be found in the {spring-integration-docs}index-single.html#integration-graph[reference documentation].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment