summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreudoxia <uplink@distress.network>2022-05-01 18:35:20 -0400
committereudoxia <uplink@distress.network>2022-05-01 18:35:20 -0400
commit1785c8cc4eb8a60c530a551471f1d5ddf0538e1a (patch)
tree9c6547f640844b057edec1a0446050a0483acbb5 /doc
parent04518819d5916cd4d024b4c6c777d23c75407e60 (diff)
slight formatting fixes, misc cleaning
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/data.html4
-rw-r--r--doc/freestanding/data.html4
-rw-r--r--doc/freestanding/log.html6
-rw-r--r--doc/freestanding/tangle.html6
-rw-r--r--doc/freestanding/weave.html6
-rwxr-xr-xdoc/log.html6
-rwxr-xr-xdoc/tangle.html6
-rwxr-xr-xdoc/weave.html6
8 files changed, 14 insertions, 30 deletions
diff --git a/doc/data.html b/doc/data.html
index d66a5d9..3453250 100755
--- a/doc/data.html
+++ b/doc/data.html
@@ -53,9 +53,7 @@
<h3 id="license">License:</h3>
<pre><code>// Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at https://mozilla.org/MPL/2.0/.
+// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
</code></pre>
<h2 id="constants">Constants</h2>
diff --git a/doc/freestanding/data.html b/doc/freestanding/data.html
index 9b029f1..63946cb 100644
--- a/doc/freestanding/data.html
+++ b/doc/freestanding/data.html
@@ -65,9 +65,7 @@ ul ul,ol ol {margin: 0;}
<h3 id="license">License:</h3>
<pre><code>&#47;&#47; Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public
-&#47;&#47; License, v. 2.0. If a copy of the MPL was not distributed with this
-&#47;&#47; file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
+&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
</code></pre>
<h2 id="constants">Constants</h2>
diff --git a/doc/freestanding/log.html b/doc/freestanding/log.html
index f8e2994..3e32826 100644
--- a/doc/freestanding/log.html
+++ b/doc/freestanding/log.html
@@ -45,9 +45,7 @@ ul ul,ol ol {margin: 0;}
<h3 id="license">License:</h3>
<pre><code>&#47;&#47; Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public
-&#47;&#47; License, v. 2.0. If a copy of the MPL was not distributed with this
-&#47;&#47; file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
+&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
</code></pre>
<p>We first import the standard library, and the <code>Level</code> type which is an enum representing the possible log levels.</p>
@@ -89,7 +87,7 @@ const Level = std.log.Level;
<pre><code>if (@enumToInt(level) &#62; @enumToInt(log_level)) return;
</code></pre>
-<p>Next the message string is created. The unformatted content of this string is evaluated at compile-time, before being formatted by the print function at runtime. The &#8220;info&#8221; and &#8220;error&#8221; log levels use custom names, whereas all other levels use their default display names.</p>
+<p>Next the message string is created. The unformatted content of this string is evaluated at compile time, before being formatted by the print function at runtime. The &#8216;info&#8217; and &#8216;error&#8217; log levels use custom names, whereas all other levels use their default display names.</p>
<h3 id="define-message-string">Define message string:</h3>
diff --git a/doc/freestanding/tangle.html b/doc/freestanding/tangle.html
index 2966ef1..85ede91 100644
--- a/doc/freestanding/tangle.html
+++ b/doc/freestanding/tangle.html
@@ -59,9 +59,7 @@ pub fn main() !u8 {
<h3 id="license">License:</h3>
<pre><code>&#47;&#47; Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public
-&#47;&#47; License, v. 2.0. If a copy of the MPL was not distributed with this
-&#47;&#47; file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
+&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
</code></pre>
<p>First we import the other files containing the core functions.</p>
@@ -96,7 +94,7 @@ defer arena.deinit();
<h3 id="read-file-from-stdin">Read file from stdin:</h3>
-<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
+<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
error.StreamTooLong =&#62; {
log(.err, "input too large (maximum {})", .{std.fmt.fmtIntSizeBin(data.input_max)});
return 1;
diff --git a/doc/freestanding/weave.html b/doc/freestanding/weave.html
index 73ea3d5..9e851ba 100644
--- a/doc/freestanding/weave.html
+++ b/doc/freestanding/weave.html
@@ -57,9 +57,7 @@ pub fn main() !u8 {
<h3 id="license">License:</h3>
<pre><code>&#47;&#47; Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public
-&#47;&#47; License, v. 2.0. If a copy of the MPL was not distributed with this
-&#47;&#47; file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
+&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
</code></pre>
<p>First we import the other files containing the core functions.</p>
@@ -94,7 +92,7 @@ defer arena.deinit();
<h3 id="read-file-from-stdin">Read file from stdin:</h3>
-<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
+<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
error.StreamTooLong =&#62; {
log(.err, "input too large (maximum {})", .{std.fmt.fmtIntSizeBin(data.input_max)});
return 1;
diff --git a/doc/log.html b/doc/log.html
index ea19845..59e9627 100755
--- a/doc/log.html
+++ b/doc/log.html
@@ -33,9 +33,7 @@
<h3 id="license">License:</h3>
<pre><code>// Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at https://mozilla.org/MPL/2.0/.
+// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
</code></pre>
<p>We first import the standard library, and the <code>Level</code> type which is an enum representing the possible log levels.</p>
@@ -77,7 +75,7 @@ const Level = std.log.Level;
<pre><code>if (@enumToInt(level) &#62; @enumToInt(log_level)) return;
</code></pre>
-<p>Next the message string is created. The unformatted content of this string is evaluated at compile-time, before being formatted by the print function at runtime. The &#8220;info&#8221; and &#8220;error&#8221; log levels use custom names, whereas all other levels use their default display names.</p>
+<p>Next the message string is created. The unformatted content of this string is evaluated at compile time, before being formatted by the print function at runtime. The &#8216;info&#8217; and &#8216;error&#8217; log levels use custom names, whereas all other levels use their default display names.</p>
<h3 id="define-message-string">Define message string:</h3>
diff --git a/doc/tangle.html b/doc/tangle.html
index 14a834c..02e5905 100755
--- a/doc/tangle.html
+++ b/doc/tangle.html
@@ -47,9 +47,7 @@ pub fn main() !u8 {
<h3 id="license">License:</h3>
<pre><code>// Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at https://mozilla.org/MPL/2.0/.
+// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
</code></pre>
<p>First we import the other files containing the core functions.</p>
@@ -84,7 +82,7 @@ defer arena.deinit();
<h3 id="read-file-from-stdin">Read file from stdin:</h3>
-<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
+<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
error.StreamTooLong =&#62; {
log(.err, "input too large (maximum {})", .{std.fmt.fmtIntSizeBin(data.input_max)});
return 1;
diff --git a/doc/weave.html b/doc/weave.html
index 2f9c044..59fc750 100755
--- a/doc/weave.html
+++ b/doc/weave.html
@@ -45,9 +45,7 @@ pub fn main() !u8 {
<h3 id="license">License:</h3>
<pre><code>// Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at https://mozilla.org/MPL/2.0/.
+// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
</code></pre>
<p>First we import the other files containing the core functions.</p>
@@ -82,7 +80,7 @@ defer arena.deinit();
<h3 id="read-file-from-stdin">Read file from stdin:</h3>
-<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
+<pre><code>const input = stdin.reader().readAllAlloc(alloc, data.input_max) catch |err| switch (err) {
error.StreamTooLong =&#62; {
log(.err, "input too large (maximum {})", .{std.fmt.fmtIntSizeBin(data.input_max)});
return 1;