Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-ci committed Sep 15, 2024
1 parent e41fd83 commit e7a91a1
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 122 deletions.
47 changes: 7 additions & 40 deletions asciidoctor-diagram_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
<h1><span class="maintitle"><strong>Asciidoctor</strong> Diagram</span>: <span class="subtitle">Supported Diagram Types</span></h1>
<div class="details">
<span id="author" class="author">brought to you with <span class="icon"><i class="fa fa-heart fa-1x"></i></span> by barthel</span><br>
<span id="revnumber">version: 454ebbaa</span>
<span id="revnumber">version: 82cb8bde</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Content</div>
Expand Down Expand Up @@ -1326,50 +1326,17 @@ <h2 id="section-mermaid"><a class="anchor" href="#section-mermaid"></a>14. merma
</div>
<div class="sect2">
<h3 id="_internal_diagram_source_14"><a class="anchor" href="#_internal_diagram_source_14"></a>14.1. Internal diagram source</h3>
<div class="listingblock">
<div class="imageblock">
<div class="content">
<pre>Failed to generate image: mmdc failed:
SyntaxError: No number after minus sign in JSON at position 121
at JSON.parse (&lt;anonymous&gt;)
at cli (file:///usr/local/share/.config/yarn/global/node_modules/@mermaid-js/mermaid-cli/src/index.js:180:59)
at file:///usr/local/share/.config/yarn/global/node_modules/@mermaid-js/mermaid-cli/src/cli.js:6:1
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)


flowchart TD
A[Christmas] --&gt;|Get money| B(Go shopping)
B --&gt; C{Let me think}
C --&gt;|One| D[Laptop]
C --&gt;|Two| E[iPhone]
C --&gt;|Three| F[fa:fa-car Car]</pre>
<img src="./images/mermaid-internal-example-diagram.svg" alt="mermaid internal example diagram" width="310" height="454">
</div>
</div>
</div>
<div class="sect2">
<h3 id="_external_diagram_source_file_14"><a class="anchor" href="#_external_diagram_source_file_14"></a>14.2. External diagram source file</h3>
<div class="listingblock">
<div class="imageblock">
<div class="content">
<pre>Failed to generate image: mmdc failed:
SyntaxError: No number after minus sign in JSON at position 121
at JSON.parse (&lt;anonymous&gt;)
at cli (file:///usr/local/share/.config/yarn/global/node_modules/@mermaid-js/mermaid-cli/src/index.js:180:59)
at file:///usr/local/share/.config/yarn/global/node_modules/@mermaid-js/mermaid-cli/src/cli.js:6:1
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)


sequenceDiagram
Alice -&gt;&gt; Bob: Hello Bob, how are you?
Bob--&gt;&gt;John: How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long&lt;br/&gt;long time, so long&lt;br/&gt;that the text does&lt;br/&gt;not fit on a row.

Bob--&gt;Alice: Checking with John...
Alice-&gt;John: Yes... John, how are you?</pre>
<img src="./images/mermaid.svg" alt="Diagram" width="840" height="563">
</div>
</div>
</div>
Expand Down Expand Up @@ -1940,8 +1907,8 @@ <h2 id="section-bibliography"><a class="anchor" href="#section-bibliography"></a
</div>
<div id="footer">
<div id="footer-text">
version: 454ebbaa<br>
454ebbaa - 2024-09-15 12:18:59 UTC
version: 82cb8bde<br>
82cb8bde - 2024-09-15 15:30:42 UTC
</div>
</div>
</body>
Expand Down
Binary file modified asciidoctor-diagram_overview.pdf
Binary file not shown.
55 changes: 9 additions & 46 deletions asciidoctor-diagram_overview_inlined.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/bpmn-internal-example-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/bpmn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/diag-meme-md5-67f50003ad1544fa68e009106d317c12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 26 additions & 26 deletions images/diagrams-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions images/diagrams-internal-example-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e7a91a1

Please sign in to comment.