Have you guys been working on a new release to support MkDocs versions greater than 1.0? I've added SquidFunk's beautiful MkDocs Material theme to my MkDocs site, and it requires MkDocs version >=1.1, so when I try to use mkpdfs on it, I get an AttributeError. This is because mkdpdfs tries to access string_types from the mkdocs.utils module, but since upgrade 1.1 MkDocs no longer hosts those types inside the mkdocs.utils module. Instead, I believe MkDocs now uses the native Python classes for this as can be seen below:
Below is a snippet of the Traceback returned by the Python interpreter:
class Mkpdfs(BasePlugin):
File "/usr/local/lib/python3.8/site-packages/mkpdfs_mkdocs/mkpdfs.py", line 20, in Mkpdfs
('design', config_options.Type(utils.string_types, default=None)),
AttributeError: module 'mkdocs.utils' has no attribute 'string_types'
Hope you guys come up with a cool new update! Let me know if there's anything else you would like to know that would help
Hi everyone!
Have you guys been working on a new release to support MkDocs versions greater than 1.0? I've added SquidFunk's beautiful MkDocs Material theme to my MkDocs site, and it requires MkDocs version >=1.1, so when I try to use mkpdfs on it, I get an AttributeError. This is because mkdpdfs tries to access
string_types
from the mkdocs.utils module, but since upgrade 1.1 MkDocs no longer hosts those types inside the mkdocs.utils module. Instead, I believe MkDocs now uses the native Python classes for this as can be seen below:Below is a snippet of the Traceback returned by the Python interpreter:
Hope you guys come up with a cool new update! Let me know if there's anything else you would like to know that would help