export

fun export(sourcesDirectory: File, out: File)

Exports a PDF from the given source directory.

Parameters

sourcesDirectory

the directory containing the HTML source files

out

the output file for the generated PDF

Throws

if the browser is not available or the export fails