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.
My use case is as follow:
GObjects
(on Linux and on the CI) and want to generate the PDFGObjects
(on Windows, and they cannot install it even if it's possible) and don't need to generate the PDFBut as the title says, declaring the
with-pdf
plugin in themkdocs.yml
fails ifGObjects
is not present. So it would be great if theGObjects
import was done only when the PDF is generated.Thanks