On this page
Install#
Sumi is a Python package. It depends on MkDocs NG, so installing Sumi installs MkDocs too.
Requirements#
- Python 3.10 or newer
- An MkDocs project, or an empty folder
Install the package#
pip
pip install mkdocs-sumi
uv
uv add --dev mkdocs-sumi
pipx
pipx install mkdocs-ng --include-deps
pipx inject mkdocs-ng mkdocs-sumi
Enable the theme and the plugin#
Sumi has two halves: the theme draws the page and the plugin adds the Markdown components, the blog and the extra outputs. Enable both:
mkdocs.yml
theme:
name: sumi
plugins:
- search # powers ⌘K search
- llms_txt # optional: llms.txt and a Markdown copy of every page
- sumi
Important
When you add a plugins: list, MkDocs no longer enables search for you. List it explicitly, as above.
Preview#
mkdocs serve
Open http://127.0.0.1:8000/. Press ⌘ K (or Ctrl K) to search.
Next#
Continue with Your first site, or jump to Writing.