When you want to build the documentation, you can using the following command:
./gradlew docs -PforcePdf
Now, PDF generation requires the asciidoctor-pdf command to be available in the PATH.
This PR simply makes the build failing in case the asciidoctor-pdf command is not available from the PATH.
Also, updated README.md to indicate that this command needs to be available when generating PDF from Antora documentation.
When you want to build the documentation, you can using the following command:
Now, PDF generation requires the
asciidoctor-pdf
command to be available in the PATH. This PR simply makes the build failing in case theasciidoctor-pdf
command is not available from the PATH. Also, updated README.md to indicate that this command needs to be available when generating PDF from Antora documentation.