An example project that demonstrates how to convert AsciiDoc to EPUB using Asciidoctor EPUB3 with the Asciidoctor Maven plugin.
This example requires providing the path to kindlegen
in the KINDLEGEN
environment variable (you have to download it for your OS from amazon here: https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211).
Once done, convert the AsciiDoc to EPUB using Asciidoctor EPUB3 by invoking the process-resources
goal (configured as the default goal):
$ mvn
Open the file target/generated-docs/spine.epub in your epub viewer to see the generated epub.