mkdocs-with-pdf
mkdocs-with-pdf copied to clipboard
error code !=0 returned if ENABLE_PDF_EXPORT not defined with scrict mode
We have shared configuration for mkdocs with and without PDF generate.
- build without PDF (ENABLE_PDF_EXPORT is not set) is executed with
--strict
mode - build with PDF (ENABLE_PDF_EXPORT is set) is executed without
--strict
mode
the 1. returns message:
WARNING - without generate PDF(set environment variable ENABLE_PDF_EXPORT to 1 to enable)
but the returne code is not 0 and we cannot check if strict mode detected issues.
I experienced the same behaviour and created a PR to switch error level to info instead: #105
I am experiencing the same behavior. Would it be possible to get #105 reviewed and merged? Is there a work around in the mean time?