Repolode
squidfunk

squidfunk/mkdocs-material

A Material Design theme for MkDocs that turns Markdown files into a searchable, responsive static documentation site.

Stars
27,581
Forks
4,150
Open issues
1
Last commit
5 days ago

What is it?

Material for MkDocs is a theme for MkDocs, a static site generator for project documentation written in Markdown. It takes Markdown source files and produces a styled site with navigation, search, and layouts that adapt to desktop, tablet, and mobile screens. Installation is a pip package, and the theme is activated by a few lines in mkdocs.yml.

The theme is configurable without writing HTML, CSS, or JavaScript. Colors, fonts, icons, logo, and interface language (over 60 languages) are set through configuration, and the project offers extension points for further customization. The site is generated as static files, so the output can be hosted on any static host and the source and generated content stay under the owner's control.

The project is MIT licensed and built on Python. It is used by a number of open source projects and companies for their documentation sites.

Key features

  • 01Write documentation in Markdown without needing HTML, CSS, or JavaScript.
  • 02Responsive layout that adapts to desktop, tablet, and mobile screens.
  • 03Built-in search and navigation for generated static sites.
  • 04Customize colors, fonts, icons, logo, and language through configuration.
  • 05Supports more than 60 interface languages.

Use cases

  • Building a documentation site for an open source library or tool.
  • Publishing internal product or engineering docs for a company.
  • Creating a multilingual documentation site with a consistent design.

Quick start

  1. 1

    Install Material for MkDocs with pip

    pip install mkdocs-material
  2. 2

    Add the theme to mkdocs.yml

    theme: name: material

Things to know

  • Requires Python and the MkDocs toolchain, so it is only useful for documentation sites.

Topics

FAQ

What is mkdocs-material?
A Material Design theme for MkDocs that turns Markdown files into a searchable, responsive static documentation site. Material for MkDocs is a theme for MkDocs, a static site generator for project documentation written in Markdown. It takes Markdown source files and produces a styled site with navigation, search, and layouts that adapt to desktop, tablet, and mobile screens. Installation is a pip package, and the theme is activated by a few lines in mkdocs.yml.
Is mkdocs-material free to use? What license does it have?
mkdocs-material is open source under the MIT license. Check the license terms before using it in commercial products.
Is mkdocs-material still maintained?
Actively maintained. The last commit to mkdocs-material was on Oct 17, 2026.
What can I use mkdocs-material for?
Building a documentation site for an open source library or tool. Publishing internal product or engineering docs for a company. Creating a multilingual documentation site with a consistent design.
How do I install mkdocs-material?
Install Material for MkDocs with pip: pip install mkdocs-material Add the theme to mkdocs.yml: theme: name: material
Where can I get mkdocs-material?
The source code and installation instructions are on GitHub: https://github.com/squidfunk/mkdocs-material

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects