MkDocs Material documentation management. This skill should be used when writing, formatting, or validating documentation in docs/. Covers admonitions, Mermaid diagrams, code blocks with annotations, content tabs, navigation setup, include-markdown for reusable content, _includes pattern for shared diagrams, and mkdocs testing. Always check project-specific docs at docs/dev/ai/skills/ and docs/dev/ai/agents/ for project-specific Claude skill and Claude agent documentation when available.
Write and maintain documentation using MkDocs Material in the docs/ directory.
Always check first for project-specific Claude configurations:
docs/dev/ai/skills/SKILL-NAME.md - Project-specific Claude skill docsdocs/dev/ai/agents/AGENT-NAME.md - Project-specific Claude agent docsThese take precedence over general patterns.
| Task | Reference |
|---|---|
| Callout boxes | admonitions.md |
| Flowcharts, diagrams | diagrams.md |
| Syntax highlighting | code-blocks.md |
| Multi-option examples | content-tabs.md |
| Links, nav structure | navigation.md |
| Reusable content includes | includes.md |
| Build, validate | testing.md |
REQUIRED SUB-SKILL: Use mermaidjs-v11 for all Mermaid diagram creation.
Diagrams with more than 15 nodes or lines must be split:
docs/architecture/_includes/ as a separate .md file{% include-markdown %} directiveshide: true to _includes/.pages to exclude from navigationSee includes.md for the full pattern.
!!! example "Usage"
```python
from module import func
func()
```
=== "pip"
```bash
pip install package
```
=== "uv"
```bash
uv add package
```
mermaidjs-v11 skill, split large diagrams into _includes/uv run mkdocs serve for live reloaduv run mkdocs build --strict catches issues# Dev server with live reload
uv run mkdocs serve
# Strict build (CI validation)
uv run mkdocs build --strict
# Quick dirty reload during editing
uv run mkdocs serve --dirty
Managed via pyproject.toml + uv sync:
[project]
dependencies = [
"mkdocs-material",
"mkdocs-awesome-nav",
"mkdocs-glightbox",
"mkdocs-macros-plugin",
"mkdocs-include-markdown-plugin",
]
Dockerfile uses uv from ghcr.io/astral-sh/uv:0.11.0.