From e7d6d7706ac2a200593a3d98d6af46bb05e3991e Mon Sep 17 00:00:00 2001 From: eudoxia Date: Mon, 25 Apr 2022 02:27:26 -0400 Subject: software/literary: docs syncing --- software/literary/data.html | 12 +++++++++++- software/literary/log.html | 12 +++++++++++- software/literary/tangle.html | 12 +++++++++++- software/literary/weave.html | 12 +++++++++++- 4 files changed, 44 insertions(+), 4 deletions(-) diff --git a/software/literary/data.html b/software/literary/data.html index 7b5e079..d66a5d9 100755 --- a/software/literary/data.html +++ b/software/literary/data.html @@ -21,7 +21,9 @@

*:

-
(Imports)
+
(License)
+
+(Imports)
 
 (Processing limits)
 
@@ -48,6 +50,14 @@
 (Text generation function)
 
+

License:

+ +
// Copyright 2022 DistressNetwork° <uplink@distress.network>
+// 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/.
+
+

Constants

We first import the standard library and the logging function from log.zig.

diff --git a/software/literary/log.html b/software/literary/log.html index 89f861a..ea19845 100755 --- a/software/literary/log.html +++ b/software/literary/log.html @@ -21,13 +21,23 @@

*:

-
(Imports)
+
(License)
+
+(Imports)
 
 (Level setting)
 
 (Logging function)
 
+

License:

+ +
// Copyright 2022 DistressNetwork° <uplink@distress.network>
+// 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/.
+
+

We first import the standard library, and the Level type which is an enum representing the possible log levels.

Imports:

diff --git a/software/literary/tangle.html b/software/literary/tangle.html index 3fd4c02..14a834c 100755 --- a/software/literary/tangle.html +++ b/software/literary/tangle.html @@ -21,7 +21,9 @@

*:

-
(Imports)
+
(License)
+
+(Imports)
 
 pub fn main() !u8 {
     (IO initialization)
@@ -42,6 +44,14 @@ pub fn main() !u8 {
 }
 
+

License:

+ +
// Copyright 2022 DistressNetwork° <uplink@distress.network>
+// 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/.
+
+

First we import the other files containing the core functions.

Imports:

diff --git a/software/literary/weave.html b/software/literary/weave.html index 81ef1d6..2f9c044 100755 --- a/software/literary/weave.html +++ b/software/literary/weave.html @@ -21,7 +21,9 @@

*:

-
(Imports)
+
(License)
+
+(Imports)
 
 pub fn main() !u8 {
     (IO initialization)
@@ -40,6 +42,14 @@ pub fn main() !u8 {
 }
 
+

License:

+ +
// Copyright 2022 DistressNetwork° <uplink@distress.network>
+// 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/.
+
+

First we import the other files containing the core functions.

Imports:

-- cgit v1.2.3