Fix link to Spring Integration Graph documentation

See gh-19992
This commit is contained in:
dreis2211 2020-01-31 08:41:53 +01:00 committed by Stephane Nicoll
parent 64def66da3
commit 2d9902f10e
2 changed files with 16 additions and 1 deletions

View File

@ -154,6 +154,21 @@ test {
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 {
configurations "asciidoctorExtensions"
dependsOn test

View File

@ -20,7 +20,7 @@ include::{snippets}/integrationgraph/graph/http-response.adoc[]
[[integrationgraph-retrieving-response-structure]]
=== Response Structure
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].