Skip to content

Commit c7b5dcd

Browse files
committed
re-render omitting version
1 parent 51abd3e commit c7b5dcd

179 files changed

Lines changed: 2080 additions & 2700 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

static/blog/dark_mode/render.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cd $(git rev-parse --show-toplevel)
22

3-
d2 --dark-theme=200 -l elk --pad 20 ./static/blog/dark_mode/main.d2 ./static/blog/dark_mode/main.svg2
3+
d2 --omit-version --dark-theme=200 -l elk --pad 20 ./static/blog/dark_mode/main.d2 ./static/blog/dark_mode/main.svg2
44

5-
d2 -l elk --pad 20 ./static/blog/dark_mode/perma.d2 ./static/blog/dark_mode/permalight.png
6-
d2 --theme=200 -l elk --pad 20 ./static/blog/dark_mode/perma.d2 ./static/blog/dark_mode/permadark.png
5+
d2 --omit-version -l elk --pad 20 ./static/blog/dark_mode/perma.d2 ./static/blog/dark_mode/permalight.png
6+
d2 --omit-version --theme=200 -l elk --pad 20 ./static/blog/dark_mode/perma.d2 ./static/blog/dark_mode/permadark.png

static/blog/sketch/render.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cd $(git rev-parse --show-toplevel)
22

3-
d2 -l elk --pad 20 --sketch ./static/blog/sketch/main.d2 ./static/blog/sketch/main.svg2
3+
d2 --omit-version -l elk --pad 20 --sketch ./static/blog/sketch/main.d2 ./static/blog/sketch/main.svg2
44

5-
d2 --pad 20 --sketch ./static/blog/sketch/animated.d2 ./static/blog/sketch/animated.svg2
5+
d2 --omit-version --pad 20 --sketch ./static/blog/sketch/animated.d2 ./static/blog/sketch/animated.svg2

static/img/generated/animated.svg2

Lines changed: 1 addition & 23 deletions
Large diffs are not rendered by default.

static/img/generated/ascii-ex.svg2

Lines changed: 182 additions & 0 deletions
Large diffs are not rendered by default.

static/img/generated/border-label.svg2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.7.0-HEAD" preserveAspectRatio="xMidYMid meet" viewBox="0 0 381 415"><svg class="d2-1120090909 d2-svg" width="381" height="415" viewBox="-1 39 381 415"><rect x="-1.000000" y="39.000000" width="381.000000" height="415.000000" rx="0.000000" fill="#222a25" stroke-width="0" /><style type="text/css"><![CDATA[
1+
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="0 0 381 415"><svg class="d2-1120090909 d2-svg" width="381" height="415" viewBox="-1 39 381 415"><rect x="-1.000000" y="39.000000" width="381.000000" height="415.000000" rx="0.000000" fill="#222a25" stroke-width="0" /><style type="text/css"><![CDATA[
22
.d2-1120090909 .text {
33
font-family: "d2-1120090909-font-regular";
44
}

static/img/generated/c4-code1.svg2

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.7.0-HEAD" preserveAspectRatio="xMidYMid meet" viewBox="0 0 844 918"><svg class="d2-1727691566 d2-svg" width="844" height="918" viewBox="-1 -1 844 918"><rect x="-1.000000" y="-1.000000" width="844.000000" height="918.000000" rx="0.000000" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
1+
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="0 0 844 918"><svg class="d2-1727691566 d2-svg" width="844" height="918" viewBox="-1 -1 844 918"><rect x="-1.000000" y="-1.000000" width="844.000000" height="918.000000" rx="0.000000" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
22
.d2-1727691566 .text-italic {
33
font-family: "d2-1727691566-font-italic";
44
}
@@ -201,11 +201,6 @@
201201
</tspan></text><text class="text-mono" x="0" y="3.600000em"><tspan fill="#cdd6f4"></tspan><tspan fill="#f38ba8">func</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">c</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">AccountClient</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89b4fa">GetAccount</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">id</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">Account</tspan><tspan fill="#cdd6f4">,</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">error</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">
202202
</tspan></text><text class="text-mono" x="0" y="4.900000em"><tspan fill="#cdd6f4"></tspan><tspan fill="#f38ba8">func</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">c</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">TransactionClient</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89b4fa">ListTransactions</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">accountID</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">[</tspan><tspan fill="#cdd6f4">]</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">Transaction</tspan><tspan fill="#cdd6f4">,</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">error</tspan><tspan fill="#cdd6f4">)</tspan></text></g></g></g><g class="KGFwaV9zZXJ2ZXIgLSZndDsgZ3JhcGhxbF9oYW5kbGVyKVswXQ=="><marker id="mk-d2-1727691566-3488378134" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" class="connection fill-B1" stroke-width="2" /> </marker><path d="M 421.000000 79.500000 C 421.000000 126.300003 421.000000 150.699997 421.000000 195.500000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-1727691566-3488378134)" mask="url(#d2-1727691566)" /><text x="421.000000" y="144.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">uses</text></g><g class="KGdyYXBocWxfaGFuZGxlciAtJmd0OyByZXNvbHZlcnMpWzBd"><marker id="mk-d2-1727691566-2177206569" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" class="connection fill-B2" stroke-width="2" /> </marker><path d="M 363.118697 277.657087 C 295.950012 325.299988 278.750000 359.500000 278.750000 392.500000 C 278.750000 425.500000 295.750000 569.700012 360.500240 616.167820" fill="none" class="connection stroke-B2" style="stroke-width:2;stroke-dasharray:6.000000,5.919384;" marker-end="url(#mk-d2-1727691566-2177206569)" mask="url(#d2-1727691566)" /><text x="281.500000" y="451.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">calls</text></g><g class="KGdyYXBocWxfaGFuZGxlciAtJmd0OyBzY2hlbWEpWzBd"><marker id="mk-d2-1727691566-869634998" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#4682B4" class="connection" stroke-width="2" /> </marker><path d="M 478.881303 277.657087 C 546.049988 325.299988 563.250000 349.700012 563.250000 394.500000" stroke="#4682B4" fill="none" class="connection" style="stroke-width:2;" marker-end="url(#mk-d2-1727691566-869634998)" mask="url(#d2-1727691566)" /><text x="544.000000" y="329.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">uses</text></g><g class="KHJlc29sdmVycyAtJmd0OyBjbGllbnRzKVswXQ=="><path d="M 421.000000 697.500000 C 421.000000 744.299988 421.000000 768.700012 421.000000 813.500000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-1727691566-3488378134)" mask="url(#d2-1727691566)" /><text x="421.500000" y="762.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">calls</text></g><g class="KHNjaGVtYSAtJmd0OyByZXNvbHZlcnMpWzBd"><marker id="mk-d2-1727691566-1294352325" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#2E8B57" class="connection" stroke-width="2" /> </marker><path d="M 563.250000 498.500000 C 563.250000 545.299988 546.250000 569.700012 481.499760 616.167820" stroke="#2E8B57" fill="none" class="connection" style="stroke-width:2;stroke-dasharray:10.000000,9.865639;" marker-end="url(#mk-d2-1727691566-1294352325)" mask="url(#d2-1727691566)" /><text x="544.500000" y="577.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">references</text></g><mask id="d2-1727691566" maskUnits="userSpaceOnUse" x="-1" y="-1" width="844" height="918">
203203
<rect x="-1" y="-1" width="844" height="918" fill="white"></rect>
204-
<rect x="166.000000" y="0.000000" width="494" height="62" fill="rgba(0,0,0,0.75)"></rect>
205-
<rect x="61.000000" y="199.000000" width="705" height="62" fill="rgba(0,0,0,0.75)"></rect>
206-
<rect x="75.000000" y="618.000000" width="676" height="62" fill="rgba(0,0,0,0.75)"></rect>
207-
<rect x="332.000000" y="398.000000" width="446" height="83" fill="rgba(0,0,0,0.75)"></rect>
208-
<rect x="-2.000000" y="817.000000" width="830" height="83" fill="rgba(0,0,0,0.75)"></rect>
209204
<rect x="404.000000" y="128.000000" width="34" height="21" fill="black"></rect>
210205
<rect x="264.000000" y="435.000000" width="35" height="21" fill="black"></rect>
211206
<rect x="527.000000" y="313.000000" width="34" height="21" fill="black"></rect>

static/img/generated/c4-code2.svg2

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.7.0-HEAD" preserveAspectRatio="xMidYMid meet" viewBox="0 0 2311 677"><svg class="d2-1880356704 d2-svg" width="2311" height="677" viewBox="-1 -1 2311 677"><rect x="-1.000000" y="-1.000000" width="2311.000000" height="677.000000" rx="0.000000" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
1+
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="0 0 2311 677"><svg class="d2-1880356704 d2-svg" width="2311" height="677" viewBox="-1 -1 2311 677"><rect x="-1.000000" y="-1.000000" width="2311.000000" height="677.000000" rx="0.000000" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
22
.d2-1880356704 .text-italic {
33
font-family: "d2-1880356704-font-italic";
44
}
@@ -201,12 +201,6 @@
201201
</tspan></text><text class="text-mono" x="0" y="2.300000em"><tspan fill="#cdd6f4"></tspan><tspan fill="#f38ba8">func</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">e</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">TemplateEngine</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89b4fa">RenderTemplate</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">templateName</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">,</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">data</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">map</tspan><tspan fill="#cdd6f4">[</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">]</tspan><tspan fill="#f38ba8">interface</tspan><tspan fill="#cdd6f4">{</tspan><tspan fill="#cdd6f4">}</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">,</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">error</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">
202202
</tspan></text><text class="text-mono" x="0" y="3.600000em"><tspan fill="#cdd6f4"></tspan><tspan fill="#f38ba8">func</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">e</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89dceb" class="text-mono-bold">*</tspan><tspan fill="#cdd6f4">TemplateEngine</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#89b4fa">RegisterHelper</tspan><tspan fill="#cdd6f4">(</tspan><tspan fill="#cdd6f4">name</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">string</tspan><tspan fill="#cdd6f4">,</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#cdd6f4">helper</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">interface</tspan><tspan fill="#cdd6f4">{</tspan><tspan fill="#cdd6f4">}</tspan><tspan fill="#cdd6f4">)</tspan><tspan fill="#cdd6f4">&#160;</tspan><tspan fill="#f38ba8">error</tspan></text></g></g></g><g class="KG5vdGlmaWNhdGlvbl9tYW5hZ2VyIC0mZ3Q7IGNoYW5uZWxfcm91dGVyKVswXQ=="><marker id="mk-d2-1880356704-3947174522" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#FF6347" class="connection" stroke-width="2" /> </marker><path d="M 1082.500000 79.500000 C 1082.500000 126.300003 1082.500000 150.699997 1082.500000 195.500000" stroke="#FF6347" fill="none" class="connection" style="stroke-width:2;" marker-end="url(#mk-d2-1880356704-3947174522)" mask="url(#d2-1880356704)" /><text x="1083.000000" y="144.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">uses</text></g><g class="KGNoYW5uZWxfcm91dGVyIC0mZ3Q7IGVtYWlsX2NoYW5uZWwpWzBd"><marker id="mk-d2-1880356704-2177206569" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" class="connection fill-B2" stroke-width="2" /> </marker><path d="M 791.018206 276.769241 C 433.799011 325.299988 344.000000 349.700012 344.000000 394.500000" fill="none" class="connection stroke-B2" style="stroke-width:2;stroke-dasharray:6.000000,5.919384;" marker-end="url(#mk-d2-1880356704-2177206569)" mask="url(#d2-1880356704)" /><text x="543.000000" y="316.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">routes to</text></g><g class="KGNoYW5uZWxfcm91dGVyIC0mZ3Q7IHNtc19jaGFubmVsKVswXQ=="><path d="M 1082.500000 278.500000 C 1082.500000 325.299988 1082.500000 349.700012 1082.500000 394.500000" fill="none" class="connection stroke-B2" style="stroke-width:2;stroke-dasharray:6.000000,5.919384;" marker-end="url(#mk-d2-1880356704-2177206569)" mask="url(#d2-1880356704)" /><text x="1083.000000" y="343.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">routes to</text></g><g class="KGNoYW5uZWxfcm91dGVyIC0mZ3Q7IHB1c2hfY2hhbm5lbClbMF0="><path d="M 1401.984864 276.745592 C 1794.400024 325.299988 1893.000000 349.700012 1893.000000 394.500000" fill="none" class="connection stroke-B2" style="stroke-width:2;stroke-dasharray:6.000000,5.919384;" marker-end="url(#mk-d2-1880356704-2177206569)" mask="url(#d2-1880356704)" /><text x="1672.000000" y="316.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">routes to</text></g><g class="KGVtYWlsX2NoYW5uZWwgLSZndDsgdGVtcGxhdGVfZW5naW5lKVswXQ=="><marker id="mk-d2-1880356704-869634998" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#4682B4" class="connection" stroke-width="2" /> </marker><path d="M 344.000000 477.500000 C 344.000000 524.299988 433.000000 548.700012 785.037060 596.956766" stroke="#4682B4" fill="none" class="connection" style="stroke-width:2;" marker-end="url(#mk-d2-1880356704-869634998)" mask="url(#d2-1880356704)" /><text x="541.500000" y="569.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">renders</text></g><g class="KHNtc19jaGFubmVsIC0mZ3Q7IHRlbXBsYXRlX2VuZ2luZSlbMF0="><path d="M 1082.500000 477.500000 C 1082.500000 524.299988 1082.500000 548.700012 1082.500000 593.500000" stroke="#4682B4" fill="none" class="connection" style="stroke-width:2;" marker-end="url(#mk-d2-1880356704-869634998)" mask="url(#d2-1880356704)" /><text x="1082.500000" y="542.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">renders</text></g><g class="KHB1c2hfY2hhbm5lbCAtJmd0OyB0ZW1wbGF0ZV9lbmdpbmUpWzBd"><path d="M 1893.000000 477.500000 C 1893.000000 524.299988 1795.199951 548.700012 1407.969236 597.004860" stroke="#4682B4" fill="none" class="connection" style="stroke-width:2;" marker-end="url(#mk-d2-1880356704-869634998)" mask="url(#d2-1880356704)" /><text x="1673.500000" y="569.000000" class="text-italic fill-N2" style="text-anchor:middle;font-size:16px">renders</text></g><mask id="d2-1880356704" maskUnits="userSpaceOnUse" x="-1" y="-1" width="2311" height="677">
203203
<rect x="-1" y="-1" width="2311" height="677" fill="white"></rect>
204-
<rect x="617.000000" y="0.000000" width="916" height="62" fill="rgba(0,0,0,0.75)"></rect>
205-
<rect x="636.000000" y="199.000000" width="878" height="62" fill="rgba(0,0,0,0.75)"></rect>
206-
<rect x="-2.000000" y="398.000000" width="676" height="62" fill="rgba(0,0,0,0.75)"></rect>
207-
<rect x="746.000000" y="398.000000" width="657" height="62" fill="rgba(0,0,0,0.75)"></rect>
208-
<rect x="1475.000000" y="398.000000" width="820" height="62" fill="rgba(0,0,0,0.75)"></rect>
209-
<rect x="569.000000" y="597.000000" width="1012" height="62" fill="rgba(0,0,0,0.75)"></rect>
210204
<rect x="1066.000000" y="128.000000" width="34" height="21" fill="black"></rect>
211205
<rect x="512.000000" y="300.000000" width="62" height="21" fill="black"></rect>
212206
<rect x="1052.000000" y="327.000000" width="62" height="21" fill="black"></rect>

0 commit comments

Comments
 (0)