ultrabug / mkdocs-static-i18n

MkDocs i18n plugin using static translation markdown files
https://ultrabug.github.io/mkdocs-static-i18n/
MIT License
228 stars 38 forks source link

Minify plugin no longer accepts positional arguments #165

Closed mastercoms closed 1 year ago

mastercoms commented 1 year ago

This will still work for older versions, as the argument has always been config. In https://github.com/byrnereese/mkdocs-minify-plugin/commit/bdfe0fbe680db26d2d1590d236c5f3162afbbeb9 it was changed to be non-positional.

Fixes this error:

File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/mkdocs_static_i18n/plugin.py", line 556, in on_post_build
    minify_plugin.on_pre_build(config)
TypeError: MinifyPlugin.on_pre_build() takes 1 positional argument but 2 were given
ultrabug commented 1 year ago

Thank you!

ultrabug commented 1 year ago

version 0.52 is out