As mentioned by @abelsromero in #1171 the method Asciidodctor.convert() never returns a Document, even though the caller asks for a org.asciidoctor.ast.Document.
The implementation of this method should use the NodeConverter and try to convert the result returned by Asciidoctor.
As mentioned by @abelsromero in #1171 the method
Asciidodctor.convert()
never returns a Document, even though the caller asks for aorg.asciidoctor.ast.Document
. The implementation of this method should use the NodeConverter and try to convert the result returned by Asciidoctor.