mkdocs-click
An MkDocs extension to generate documentation for Click command line applications
Decision gist · record as of 2026-08-14
Yes, if you use Click for CLI tools and MkDocs for documentation. Low install friction, permissive license, and no known vulnerabilities make it a safe choice. The aging maintenance status (494 days since last release) is a minor concern but not a blocker—the package is stable, the repository is not archived, and recent commits show ongoing activity. Install it when you want to eliminate manual CLI documentation maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Click command object importable from a Python module; the module path must be resolvable at documentation build time.
- Low install friction with only two runtime dependencies (click and markdown).
- Maintenance status is aging—last release was 494 days ago—but the repository remains active with recent commits and no archived status.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2025-04-07 (494 days) · last repo commit 2025-06-18 · 149 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,217,070 downloads/mo, #4,207 on PyPI
Alternatives
Verify before relying
pip install mkdocs-click
# In mkdocs.yml:
markdown_extensions:
- mkdocs-click
# In your Markdown:
::: mkdocs-click
:module: app.cli
:command: cli- Whether the package works with Click versions beyond those tested in CI
- Performance characteristics when documenting very large or deeply nested command hierarchies
- Compatibility with recent MkDocs versions and popular themes beyond ReadTheDocs
What it is and what it does
mkdocs-click is an MkDocs extension that introspects Click command-line applications and automatically generates formatted documentation for them. You point it at a Click command or group, and it produces Markdown with command descriptions, options, arguments, and subcommands—all embedded directly into your MkDocs site during the build. It handles nested commands, allows you to customize header depth and styling, and can optionally show full command paths and hidden commands.
The package is typically used when you have a Click CLI tool and want to keep its documentation in sync with the code without manual maintenance. Instead of writing command reference docs by hand, you add a simple block to your Markdown that references the CLI module, and the extension generates the documentation automatically. It supports both simple flat commands and complex hierarchical command groups.
Use it for
- Auto-generate a CLI reference page for a Click application by pointing mkdocs-click at the root command group
- Embed command documentation within a larger MkDocs site without duplicating help text
- Maintain up-to-date command reference docs that stay synchronized with code changes automatically
- Document nested subcommands with customizable header levels to fit your documentation structure
- Display command options in either plain or table format depending on your documentation style
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Click for CLI tools and MkDocs for documentation.
Low install friction, permissive license, and no known vulnerabilities make it a safe choice. The aging maintenance status (494 days since last release) is a minor concern but not a blocker—the package is stable, the repository is not archived, and recent commits show ongoing activity. Install it when you want to eliminate manual CLI documentation maintenance.
Install
mkdocs-click on PyPI
Before you install
Low install friction with only two runtime dependencies (click and markdown). Maintenance status is aging—last release was 494 days ago—but the repository remains active with recent commits and no archived status.
Requires a Click command object importable from a Python module; the module path must be resolvable at documentation build time.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install mkdocs-click
# In mkdocs.yml:
markdown_extensions:
- mkdocs-click
# In your Markdown:
::: mkdocs-click
:module: app.cli
:command: cli
Verify before relying
- Whether the package works with Click versions beyond those tested in CI
- Performance characteristics when documenting very large or deeply nested command hierarchies
- Compatibility with recent MkDocs versions and popular themes beyond ReadTheDocs
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesclickmarkdown |
| Maintenance | Aging 494 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,217,070 / month, #4,207 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Software Development :: DocumentationTopic :: Text Processing :: Markup :: MarkdownTyping :: Typed |
Evidence: mkdocs_click-0.9.0-py3-none-any.whl
Tags
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 › “click cli documentation generator”
- mkdocs-clickGenerates API documentation for Click command-line applications and…
- md-click-2Generates markdown documentation files automatically from click CLI…
- trogonTrogon auto-generates a terminal user interface (TUI) for Click…
Give your agent the search over MCP, or paste the wish link into any chat.
More Documentation packages
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
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.
A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.
Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.
A Sphinx extension that generates HTML help files from reStructuredText documentation source.
See also md-click-2 · mkdocstrings · cloup · mkdocs-autorefs · mkdocs-gen-files · mkdocs-with-pdf · mkdocs-get-deps · mkdocs-video · mkdocs · pydoc-markdown