$npx skillfedfor your agent

mkdocs-minify-plugin

An MkDocs plugin to minify HTML, JS or CSS files prior to being written to disk

With conditionsPyPI DocumentationReleased Jan 20241.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mkdocs_minify_plugin-0.8.0-py3-none-any.whl
v0.8.0 · released 2024-01-29 · Python >=3.8 · 4 runtime deps: mkdocs, htmlmin2, jsmin, csscompressor

Yes, if you use MkDocs and want to reduce output size without extra build steps. Install friction is low, dependencies are stable, and there are no known vulnerabilities. The dormant maintenance status is not a blocker for a simple, focused plugin, but be aware that bug fixes or feature updates are unlikely. Suitable for production documentation builds.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires MkDocs to be installed and an active mkdocs.yml configuration file in your project.
  • Low friction install with a pure-Python wheel and four straightforward runtime dependencies.
  • Maintenance is dormant—last release was 2024-01-29 and no commits since 2024-02-07—but the package is not archived and has no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial or private projects with minimal restrictions.

last release 2024-01-29 (928 days) · last repo commit 2024-02-07 · 195 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,052,748 downloads/mo, #4,439 on PyPI

Verify before relying

pip install mkdocs-minify-plugin

In mkdocs.yml:
plugins:
  - minify:
      minify_html: true
      minify_js: true
      minify_css: true
      js_files:
        - path/to/file.js
      css_files:
        - path/to/file.css
  • Whether minification performance impact is measurable on large documentation sites.
  • Compatibility with recent MkDocs versions beyond those listed in classifiers (3.10, 3.11).
Same gist for agents: .md · .json

What it is and what it does

mkdocs-minify-plugin is an MkDocs plugin that automatically minifies HTML, JavaScript, and CSS assets during the documentation build process. It delegates minification to three specialized libraries: htmlmin2 for HTML, jsmin for JavaScript, and csscompressor for CSS. The plugin integrates into MkDocs' build pipeline and can be configured to minify specific file types or all three, with options to add cache-busting hashes to file names and to customize HTML minification behavior.

The plugin is useful when you want to reduce the size of generated documentation without manually running separate minification tools. It supports glob patterns for file selection and can automatically update references to minified files in your HTML output. The package is stable but dormant—last updated in early 2024—and carries no known security vulnerabilities.

Use it for

  • Reduce documentation site size and bandwidth for static MkDocs sites deployed to CDNs or hosting with bandwidth limits.
  • Add cache-busting hashes to CSS and JS files to ensure browsers fetch fresh versions after updates.
  • Automatically minify all HTML output from MkDocs without manual post-processing steps.
  • Minify custom JavaScript and CSS files included in your documentation theme or configuration.
  • Optimize documentation builds for low-bandwidth environments or mobile-first delivery.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use MkDocs and want to reduce output size without extra build steps.

Install friction is low, dependencies are stable, and there are no known vulnerabilities. The dormant maintenance status is not a blocker for a simple, focused plugin, but be aware that bug fixes or feature updates are unlikely. Suitable for production documentation builds.

Install

mkdocs-minify-plugin on PyPI

Before you install

Low friction install with a pure-Python wheel and four straightforward runtime dependencies. Maintenance is dormant—last release was 2024-01-29 and no commits since 2024-02-07—but the package is not archived and has no known vulnerabilities.

Requires MkDocs to be installed and an active mkdocs.yml configuration file in your project.

License in practice

MIT license is permissive; you can use this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install mkdocs-minify-plugin

In mkdocs.yml:
plugins:
  - minify:
      minify_html: true
      minify_js: true
      minify_css: true
      js_files:
        - path/to/file.js
      css_files:
        - path/to/file.css

Verify before relying

  • Whether minification performance impact is measurable on large documentation sites.
  • Compatibility with recent MkDocs versions beyond those listed in classifiers (3.10, 3.11).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
mkdocshtmlmin2jsmincsscompressor
MaintenanceDormant 928 days since the last release
Last repo commit
First released
Downloads1,052,748 / month, #4,439 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: mkdocs_minify_plugin-0.8.0-py3-none-any.whl

Tags

Capabilities
mkdocs html minificationminify css javascript mkdocsdocumentation build optimizationreduce html css js sizemkdocs plugin minifystatic site size reductionmkdocs build compression
Topics
mkdocs-pluginbuild-optimizationstatic-site
PyPI keywords
mkdocsminifypublishingdocumentationhtmlcss

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mkdocs html minification”

  • mkdocs-minify-pluginMinifies HTML, JavaScript, and CSS files in MkDocs documentation…
  • minify-htmlMinifies HTML, JavaScript, and CSS in a single pass using a…
  • django-htmlminMinifies HTML by removing whitespace and comments, reducing response…

Give your agent the search over MCP, or paste the wish link into any chat.

More Documentation packages

docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
griffe Worth it
PyPI · Software Development · released Jun 2026

Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.

Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.

ISCpure Python · 3.10+
32.4Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo

See also minify-html · Flask-Minify · jsmin · python-minifier · htmlmin2 · django-htmlmin · htmlmin · webassets · Flask-Assets · css-html-js-minify