Skip to content

About

Sumi: a local-first documentation theme for MkDocs NG. Markdown in, beautiful docs out.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

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

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, including Chinese and Japanese, and runs commands.
  • 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 and an Atom feed, 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.

About

Sumi: a local-first documentation theme for MkDocs NG. Markdown in, beautiful docs out.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages