Skip to content

Commit

Permalink
[:asciidoc] Add mdToAdocTask before asciidoc task
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Aug 28, 2022
1 parent 7bf6d61 commit 093d81d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/asciidoc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ configure<antora.AntoraDocComponentExtension> {
}.map(project::project)
)
}

tasks {
register<mdtoadoc.MdToAdocTask>("mdToAdoc") {
inputFile.set(file(rootDir.resolve("CHANGELOG.md")))
outputFolder.set(buildDir.resolve("antora/modules/ROOT/pages"))
outputFileName.set("release-note.adoc")
}
named("asciidoc") {
dependsOn("mdToAdoc")
}
}
1 change: 1 addition & 0 deletions docs/asciidoc/src/antora/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
include::partial$feature-nav.adoc[]
* xref:apidocs.adoc[API docs]
* xref:release-note.adoc[Release note]

0 comments on commit 093d81d

Please sign in to comment.