mkdocs-with-pdf icon indicating copy to clipboard operation
mkdocs-with-pdf copied to clipboard

error code !=0 returned if ENABLE_PDF_EXPORT not defined with scrict mode

Open anb0s opened this issue 2 years ago • 2 comments

We have shared configuration for mkdocs with and without PDF generate.

  1. build without PDF (ENABLE_PDF_EXPORT is not set) is executed with --strict mode
  2. 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.

anb0s avatar Feb 09 '22 14:02 anb0s

I experienced the same behaviour and created a PR to switch error level to info instead: #105

js94x avatar Mar 10 '22 10:03 js94x

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?

volks73 avatar Feb 23 '23 14:02 volks73