[Python] Pelican gives Exception: Unable to minify file output\archives.html

Discussão em 'Python' iniciado por Stack, Julho 30, 2025.

  1. Stack

    Stack Membro Participativo

    Whenever I run pelican content it just gives this error:

    CRITICAL Exception: Unable to minify file output\archives.html. Exception was: TypeError("minify() got an unexpected keyword argument 'do_not_minify_doctype'")


    I tried looking for the file that calls this function, but I can't find it anywhere. I'm aware that minify-html had a breaking change and I could just downgrade it, but it doesn't seem like a good solution. Is there any way to fix this?

    Continue reading...

Compartilhe esta Página