Closed Bug 2084585 Opened 1 month ago Closed 24 days ago

Update firefox-source-docs to Mermaid 12

Categories

(Developer Infrastructure :: Source Documentation, task)

task

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
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.

Duplicate of this bug: 2084273
Blocks: 2084298

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.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Blocks: 2084613
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2b5017a6047e https://hg.mozilla.org/integration/autoland/rev/36508b706107 Update firefox-source-docs to Mermaid 12. r=firefox-source-docs-reviewers,ai4dev-reviewers,padenot,sylvestre,ahal
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: