diff --git a/demo/Cargo.toml b/demo/Cargo.toml index 9c09f21..c03aea8 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aquamarine-demo-crate" -version = "0.3.1" +version = "0.3.2" authors = ["Mike Lubinets "] description = "A demo crate for aquamarine -- the mermaid.js integration for rustdoc" keywords = ["proc_macro", "docs", "rustdoc", "mermaid", "diagram"] diff --git a/demo/diagram.mermaid b/demo/diagram.mermaid index 62ac7ef..4162c17 100644 --- a/demo/diagram.mermaid +++ b/demo/diagram.mermaid @@ -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 \ No newline at end of file diff --git a/demo/src/lib.rs b/demo/src/lib.rs index 480b28a..f39afe0 100644 --- a/demo/src/lib.rs +++ b/demo/src/lib.rs @@ -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 /// ``` /// @@ -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() {}