Update firefox-source-docs to Mermaid 12
Categories
(Developer Infrastructure :: Source Documentation, task)
Tracking
(firefox161 fixed)
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
firefox-source-docs loads Mermaid 11.12.1, the default of sphinxcontrib-mermaid 2.1.1. Mermaid 12 bundles the ELK layout engine, fixes label clipping in wrapped shapes and line breaks in labels, and reports parse errors with their real message.
Mermaid 12 also changes the default look, theme and flowchart layout. For the time being the update should pin look: "classic", the current themes and the dagre layout to keep diagrams looking as they do now, and set mermaid_zenuml_version to 1.0.1, the first ZenUML plugin release that supports Mermaid 12. Turning on ELK for dense flowcharts is a separate step.
| Assignee | ||
Comment 2•1 month ago
|
||
The config pins aim to keep every diagram as it renders today: rendered with both versions, 96 of the tree's 98 non-ZenUML diagrams stay within 5% of their current size, and the other two differ by about 6%. This depends on bug 2084536, without which the streams diagram does not parse.
Updated•1 month ago
|
Comment 4•24 days ago
|
||
| bugherder | ||
Description
•