Skip to content

Commit

Permalink
Fix newlines in markdown mermaid.js diagrams. (#19657)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd authored Jan 15, 2025
1 parent c285d58 commit 3032df2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/website/docs/developers/general/testing-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ Testing ONNX programs follows several stages:

```mermaid
graph LR
Import -. "\n(offline)" .-> Compile
Import -. "<br>(offline)" .-> Compile
Compile --> Run
```

Expand Down
4 changes: 2 additions & 2 deletions docs/website/docs/guides/ml-frameworks/onnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ graph LR
Compiled programs are used by the runtime.
}
A["ONNX\n(protobuf)"]
B["MLIR\n(torch-mlir)"]
A["ONNX<br>(protobuf)"]
B["MLIR<br>(torch-mlir)"]
C[IREE compiler]
D[Runtime deployment]
Expand Down
2 changes: 1 addition & 1 deletion docs/website/docs/guides/ml-frameworks/pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ graph LR
}
subgraph Python
compiledmodule("aot.CompiledModule\n\n- extend nn.Module\n- export globals\n- set shapes/dtypes")
compiledmodule("aot.CompiledModule<br><br>- extend nn.Module<br>- export globals<br>- set shapes/dtypes")
export(["ExportOutput (MLIR)"])
compiledmodule -- "aot.export()" --> export
end
Expand Down

0 comments on commit 3032df2

Please sign in to comment.