Skip to content
mkdocs-ngPublic

About

Write Markdown. Ship docs. The maintained MkDocs that keeps your plugins working.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

MkDocs NG

MkDocs NG

Write Markdown. Ship docs.
The maintained MkDocs that keeps your plugins working.

PyPI version Python versions CI Plugin compatibility Coverage CodSpeed License

Documentation · Switching from MkDocs · Release notes · Plugin catalog

MkDocs is a fast, simple, and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown and configured with a single YAML configuration file. It is designed to be easy to use and can be extended with third-party themes, plugins, and Markdown extensions.

Clean build of a 1,000-page site: MkDocs NG with Material 11.1 s, Zensical 15.9 s, Sphinx with 4 processes 23.5 s, ProperDocs with Material 32.1 s, Starlight 32.9 s, MkDocs 1.6.1 with Material 34.2 s, VitePress 85.4 s, Docusaurus 106.6 s

Clean build of the same 1,000-page site. Zensical is faster when it reuses its cache and when serve shows an edit.
How we measured

Note

MkDocs NG is a maintained fork of mkdocs/mkdocs, published on PyPI as mkdocs-ng while keeping the mkdocs command, imports and configuration unchanged — a drop-in replacement.

Highlights beyond the last upstream release: Python 3.10–3.15 support, built-in llms.txt and per-page Markdown output for LLMs and coding agents, search that finds programming keywords like while and for, faster builds with smaller site output, a stable Python API (mkdocs.build() / mkdocs.serve()), fully offline syntax highlighting with no CDNs or analytics, and many long-standing bug fixes — see Fixed Upstream Issues and the release notes, or browse all merged changes.

Please see the Documentation for an introductory tutorial and a full user guide.

Features

  • Build static HTML files from Markdown files.
  • Use Plugins and Markdown Extensions to enhance MkDocs.
  • Use the built-in themes, third-party themes, or create your own.
  • Publish your documentation anywhere that static files can be served.
  • Much more!

Installation

Install with pip:

pip install mkdocs-ng

Switching from mkdocs? Just install MkDocs NG — the command, imports and configuration stay exactly the same:

pip install -U mkdocs-ng

Plugins and themes depend on the mkdocs package, so upstream MkDocs gets installed alongside. That's fine: MkDocs NG installs its files separately and always takes precedence, so leave the upstream package installed. See Plugins, themes and the mkdocs package for details, and Switching to MkDocs NG for what behaves differently from upstream MkDocs.

Support

If you need help with MkDocs:

  • Use Discussions for questions and general help.
  • To report a bug or make a feature request, open an Issue on GitHub.

We may only provide support for core MkDocs features. Questions about third-party themes, plugins, or extensions should usually go to those projects first, but they are still welcome in Discussions.

Links

Contributing to MkDocs

The MkDocs project welcomes and depends on contributions from developers and users in the open source community. Please see the Contributing Guide for information on how you can help.

Code of Conduct

Everyone interacting in the MkDocs project's codebases, issue trackers, and discussion forums are expected to follow the PyPA Code of Conduct.

License

BSD-2-Clause

About

Write Markdown. Ship docs. The maintained MkDocs that keeps your plugins working.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages