Declaring the with-pdf plugin fails if GObjects is not present
ddidier opened this issue · 1 comments
ddidier commented
My use case is as follow:
- some users have an environment with
GObjects
(on Linux and on the CI) and want to generate the PDF - some users have an environment without
GObjects
(on Windows, and they cannot install it even if it's possible) and don't need to generate the PDF
But as the title says, declaring the with-pdf
plugin in the mkdocs.yml
fails if GObjects
is not present. So it would be great if the GObjects
import was done only when the PDF is generated.
Thanks
stefaneidelloth commented
Related:
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#windows ("Only Windows 11 64-bit is supported")