dev-python/
mkdocs-minify-plugin

An MkDocs plugin to minify HTML and/or JS files prior to being written to disk

https://github.com/byrnereese/mkdocs-minify-plugin