Commit 5d70872
committed
docs(mermaid): enable native Mermaid.js rendering via superfences fence
```mermaid fences (README architecture/update-flow/directory diagrams) were
emitted as plain code blocks because mkdocs.yml had no Mermaid integration.
Add the pymdownx.superfences custom fence (class=mermaid) documented by
Material for MkDocs — the theme then lazy-loads mermaid@11 and renders the
diagrams client-side, theme-aware (light/dark). Note: rendering needs
internet at view time (theme loads mermaid from unpkg CDN); without it the
raw source shows as fallback.
Also pin mkdocs-material==9.7.7 in the publish workflow and DOCS.md
(reproducible builds; 9.7.7 is the latest release, project is in
maintenance mode until 2026-11-05).1 parent 2a874f7 commit 5d70872
3 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| |||
0 commit comments