Merge pull request #19992 from dreis2211

* pr/19992:
  Fix link to Spring Integration Graph documentation

Closes gh-19992
This commit is contained in:
Stephane Nicoll
2020-02-03 17:34:07 +01:00
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].