Skip to main content

Sumi

Sumi

Markdown in. Beautiful docs out.

PyPI version Python versions CI License

Documentation · 中文文档 · Components · Sumi vs Material · Releases

Sumi is a documentation theme for MkDocs NG. It turns a folder of plain Markdown into a complete project site — docs, landing page, blog, release downloads and a print edition — without Node.js, a CDN or a hosted service.

Quick start

pip install mkdocs-sumi
# mkdocs.yml
theme:
  name: sumi

plugins:
  - search
  - llms_txt   # optional: llms.txt and a Markdown copy of every page
  - sumi
mkdocs serve

With a coding agent

Give Claude Code, Codex or any agent that runs shell commands the Sumi site skill and describe your site:

Build a documentation site with MkDocs NG and the Sumi theme, following https://sumi.mkdocs-ng.org/skill.md
Site: [name, audience, sections, languages, where it is hosted]

To keep it for every session, save it as a skill:

mkdir -p ~/.claude/skills/sumi-site && curl -fsSL https://sumi.mkdocs-ng.org/skill.md -o ~/.claude/skills/sumi-site/SKILL.md

Highlights

  • Components in native Markdown. Callouts are > [!NOTE], steps are a numbered list with {.steps}, tabs are fences with {tab="…"}. Your source still reads well on GitHub.
  • Local-first. Fonts, 2 000 icons, search, Mermaid and KaTeX ship with the theme. Mermaid and KaTeX load only on pages that use them.
  • Search as a command palette. ⌘ K searches every heading and every option of a reference table, including Chinese and Japanese, and runs commands.
  • Three looks, one line. style: paper sets a serif page for blogs, essays and books; style: github the README look. The default stays Sumi.
  • 15 interface languages. Arabic and Hebrew lay out right to left. With MkDocs NG, one mkdocs.yml builds every language, with a language menu and a side-by-side bilingual view.
  • Written for agents too. Every page has a Markdown twin announced in <head>, plus llms.txt and Copy as Markdown.
  • One design for the whole project site. Data-driven landing pages, a blog with tags, an Atom feed and Copy with formatting for pasting posts into WeChat and other editors, a releases page with checksums, and a whole-site print edition.
  • Keeps your MkDocs content. Admonitions, pymdownx tabs and details, mike versions and Material's extra keys keep working.

Coming from Material for MkDocs? Sumi and Material compared shows what Sumi adds and where Material is still ahead, and Migrate from Material how to switch.

Showcase

Sumi
Sumi
MkDocs NG
MkDocs NG
MkDocs Catalog
MkDocs Catalog
Sumi starter
Sumi starter
AgentBox
AgentBox
立陶宛生活指南
立陶宛生活指南
Commit Check
Commit Check

More on the showcase page. Built something with Sumi? Tell us.

Development

pip install -e ".[test]"
pytest                       # unit and build tests
pip install playwright && playwright install chromium
pytest tests/test_browser.py # browser tests against the docs site
mkdocs serve                 # the docs site is the visual regression suite

License

Sumi is part of the MkDocs NG project.

Apache 2.0. See NOTICE for the licenses of bundled fonts, icons and libraries.

Metadata

Release files for mkdocs-sumi 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-sumi 0.5.0
File Size Uploaded Provenance Actions
mkdocs_sumi-0.5.0.tar.gz 4.4 MB With provenance Details for mkdocs_sumi-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-sumi 0.5.0
File Interpreter ABI Platform Actions
mkdocs_sumi-0.5.0-py3-none-any.whl Python 3 none any Details for mkdocs_sumi-0.5.0-py3-none-any.whl

Total release size: 7.5 MB

Release files / mkdocs_sumi-0.5.0.tar.gz

Download URL mkdocs_sumi-0.5.0.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a3c398c34ace3b5a4725f23c53e5c52a91ed6e94a735174495e2d3a18b5d6415
BLAKE2b-256 checksum
How to use checksums
8baaf3ffa8b9bf52b350e1dd6501e138bfe06b55a0f7757e79a6c78c58ed7deb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / mkdocs_sumi-0.5.0-py3-none-any.whl

Download URL mkdocs_sumi-0.5.0-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
66952a1f5db6c6723a067de4d876b31b09db5febd99403f847ff53cc9beb0d19
BLAKE2b-256 checksum
How to use checksums
55aef8657f46c29ad976b18b592008e8ef97056a38971ec977f8ab3cefd36fbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for mkdocs-sumi 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mkdocs_sumi-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page