Workaround duplicate adoc files.
guides/*.adoc are copied to guides/*.adoc and ./ when being processed. This breaks links to JavaScript. To workaround this, we explicitly state which sources we want to process and avoid the copy found in './'. See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/80
This commit is contained in:
@@ -25,6 +25,14 @@ asciidoctorPdf {
|
||||
}
|
||||
}
|
||||
|
||||
asciidoctor {
|
||||
clearSources()
|
||||
sources {
|
||||
include "index.adoc"
|
||||
include "guides/*.adoc"
|
||||
}
|
||||
}
|
||||
|
||||
asciidoctorj {
|
||||
|
||||
def githubBaseUrl = "https://github.com/spring-projects/spring-boot-data-geode"
|
||||
|
||||
Reference in New Issue
Block a user