reactor / reactor-core

Non-Blocking Reactive Foundation for the JVM
http://projectreactor.io
Apache License 2.0
4.87k stars 1.18k forks source link

Fail on missing asciidoctor pdf command #3819

Closed pderop closed 1 month ago

pderop commented 1 month ago

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.