Skip to content

docs: fix mermaid parse errors in components and design diagrams#9

Merged
OsherElhadad merged 1 commit into
mainfrom
fix/mermaid-doc-diagrams
Jul 20, 2026
Merged

docs: fix mermaid parse errors in components and design diagrams#9
OsherElhadad merged 1 commit into
mainfrom
fix/mermaid-doc-diagrams

Conversation

@OsherElhadad

Copy link
Copy Markdown
Collaborator

What

Four mermaid diagrams in the docs failed to render on GitHub. Fixes are label-quoting and punctuation only — no wording/content changes.

File Diagram Cause Fix
docs/components.md skeleton flowchart ```go backticks inside a node label broke the lexer; decision node with <br/>/ was unquoted drop backticks, quote both labels
docs/components.md DSL 8-stage flowchart nested [] inside [...] labels (replace[], match_output[]) quote the two labels
docs/design.md apply.Body sequence ; is a statement separator in sequenceDiagram, truncating the message and erroring on the following <br/> ;,
docs/design.md expand-loop sequence same ; issue in a Note ;

These match the exact GitHub render errors reported (Lexical error ... flowchart LR A["```go fenced block<br and Parse error on line 10 ...keep bytes;<br/>changed).

Verification

No mermaid CLI available in-env; verified by grep that no remaining diagram contains the three parse-breaking constructs (backticks-in-label, nested [], ; in sequence text). The other mermaid blocks in integrations.md/setup.md were checked and are clean.

Four diagrams failed to render on GitHub:
- skeleton flowchart (components.md): backtick fenced-code inside a node
  label broke the lexer; the decision node with <br/>/≥ was unquoted.
- DSL 8-stage flowchart (components.md): nested [] inside [...] node
  labels (replace[], match_output[]) broke lexing.
- apply.Body and expand-loop sequence diagrams (design.md): a ';' in
  message/Note text is a statement separator in sequenceDiagram, which
  truncated the text and errored on the following <br/>.

Quote the affected labels and replace the two ';' with ',' / '—'.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Osher-Elhadad <Osher.Elhadad@ibm.com>
@OsherElhadad
OsherElhadad merged commit b3d1e63 into main Jul 20, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants