Skip to content

Commit

Permalink
build: flattened docs output
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Mar 19, 2024
1 parent 7d2bacd commit 302882a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guide/guide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ asciidoctor {
configurations 'asciidoctorExtensions'
outputOptions {
backends = ['pdf', 'html5']
separateOutputDirs = false
}
forkOptions {
// Fix issue with JDK16+
Expand All @@ -29,8 +30,8 @@ asciidoctor {
'testdir' : '../../../../../plugins/riot/src/test/resources'
]
doLast {
file("$outputDir/pdf/index.pdf").
renameTo("$outputDir/pdf/riot-${project.version}.pdf")
file("$outputDir/index.pdf").
renameTo("$outputDir/riot-${project.version}.pdf")
}
}

Expand Down

0 comments on commit 302882a

Please sign in to comment.