Skip to content

Commit

Permalink
hotfix: malformed string literals in mermaid.js diagrams of a demo crate
Browse files Browse the repository at this point in the history
  • Loading branch information
mersinvald committed Dec 13, 2023
1 parent 767492c commit e3211bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aquamarine-demo-crate"
version = "0.3.1"
version = "0.3.2"
authors = ["Mike Lubinets <[email protected]>"]
description = "A demo crate for aquamarine -- the mermaid.js integration for rustdoc"
keywords = ["proc_macro", "docs", "rustdoc", "mermaid", "diagram"]
Expand Down
2 changes: 1 addition & 1 deletion demo/diagram.mermaid
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ graph LR
s([Source]) --> a[[aquamarine]]
r[[rustdoc]] --> f([Docs w/ Mermaid!])
subgraph rustc[Rust Compiler]
a -. load diagram.mermaid .-> r
a -. "load diagram.mermaid" .-> r
end
4 changes: 2 additions & 2 deletions demo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// s([Source]) --> a[[aquamarine]]
/// r[[rustdoc]] --> f([Docs w/ Mermaid!])
/// subgraph rustc[Rust Compiler]
/// a -. inject mermaid.js .-> r
/// a -. "inject mermaid.js" .-> r
/// end
/// ```
///
Expand Down Expand Up @@ -46,4 +46,4 @@ pub fn example_with_styling() {}
/// Reduce clutter in your doc comments, when a diagram is big enough
///
/// **Note:** diagrams loaded form file are always placed in the bottom of the doc section
pub fn example_foad_from_file() {}
pub fn example_load_from_file() {}

0 comments on commit e3211bb

Please sign in to comment.