I have tried with different plugins listed on here: https://github.com/mkdocs/mkdocs/wiki/MkDocs-Plugins#pdf--site-conversion
But all of them always gives me the same error
AttributeError: module 'mkdocs.utils' has no attribute 'string_types'
My SO is windows 10, so I had some issues getting the Cairo library that is needed. But even in a container that we use to deploy the page gives the same error.