talira

Project documentation with Markdown.

open sourceBSD-2-Clauseself-hostablefree

MkDocs is a static site generator for project documentation, written in Python: documentation is Markdown files and one YAML configuration file, and mkdocs build writes plain static HTML that can be hosted on GitHub Pages, Amazon S3 or anywhere else. It has a dev server that reloads the browser on save, client-side search, two built-in themes (mkdocs and readthedocs) and many third-party themes, plugins and Markdown extensions. Its last release is 1.6.1 (August 2024).

Ways to install

Package managers

Problems it solves

  • turn a folder of Markdown files into a documentation website with one config file
  • a docs site generator for a Python project that doesn't need any JavaScript tooling
  • preview documentation locally with live reload while I write
  • publish project docs to GitHub Pages with one command
  • a simple static documentation site with search and a sidebar from my Markdown headings
  • build docs that look like Read the Docs without hosting on Read the Docs

Features

  • Markdown sources and one YAML config (mkdocs.yml)
  • built-in dev server with auto-reload
  • static HTML output
  • built-in search
  • mkdocs and readthedocs themes, plus third-party themes
  • plugins and Python-Markdown extensions
  • gh-deploy to GitHub Pages

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what MkDocs does.

  1. mdBook Create books from Markdown files
  2. Docusaurus Easy to maintain open source documentation websites.
  3. VitePress Vite & Vue powered static site generator
  4. Sphinx Create intelligent and beautiful documentation with ease
  5. Hugo The world's fastest framework for building websites.
  6. Starlight Build beautiful, accessible, high-performance documentation websites with Astro

Compare MkDocs with the top 3