From b72af93971d38b05bcae92b2246b6014b737cd5e Mon Sep 17 00:00:00 2001 From: eudoxia Date: Thu, 7 Apr 2022 11:11:42 -0400 Subject: doc/freestanding: fixed header; backend syncing with distress.network --- doc/data.html | 2 +- doc/freestanding/data.html | 3 +-- doc/freestanding/log.html | 3 +-- doc/freestanding/tangle.html | 3 +-- doc/freestanding/weave.html | 3 +-- doc/log.html | 2 +- doc/tangle.html | 2 +- doc/weave.html | 2 +- gen-docs.sh | 2 ++ gen-freestanding.sh | 1 + 10 files changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/data.html b/doc/data.html index 66ecb30..8d58f42 100755 --- a/doc/data.html +++ b/doc/data.html @@ -10,7 +10,7 @@ data.lp — DistressNetwork° - + diff --git a/doc/freestanding/data.html b/doc/freestanding/data.html index de0cbd8..a963f99 100644 --- a/doc/freestanding/data.html +++ b/doc/freestanding/data.html @@ -28,8 +28,7 @@ ul ul,ol ol {margin: 0;} -

data.zig

- +

data.lp

This file contains the various data processing-related constants and functions referenced by the tangling and weaving processes.

*:

diff --git a/doc/freestanding/log.html b/doc/freestanding/log.html index 003daf7..61b66b8 100644 --- a/doc/freestanding/log.html +++ b/doc/freestanding/log.html @@ -28,8 +28,7 @@ ul ul,ol ol {margin: 0;} -

log.zig

- +

log.lp

This file contains a simple logging function. It is a modified version of the example logging function implementation provided in std.log.

*:

diff --git a/doc/freestanding/tangle.html b/doc/freestanding/tangle.html index aaad088..3be082c 100644 --- a/doc/freestanding/tangle.html +++ b/doc/freestanding/tangle.html @@ -28,8 +28,7 @@ ul ul,ol ol {margin: 0;} -

tangle.zig

- +

tangle.lp

The structure of this file is quite similar to that of weave.zig, only differing in terms of which functions are used to transform the input data.

*:

diff --git a/doc/freestanding/weave.html b/doc/freestanding/weave.html index 5a10177..364d084 100644 --- a/doc/freestanding/weave.html +++ b/doc/freestanding/weave.html @@ -28,8 +28,7 @@ ul ul,ol ol {margin: 0;} -

weave.zig

- +

weave.lp

The structure of this file is quite similar to that of tangle.zig, only differing in terms of which functions are used to transform the input data.

*:

diff --git a/doc/log.html b/doc/log.html index 9ebf2dc..bcfeb56 100755 --- a/doc/log.html +++ b/doc/log.html @@ -10,7 +10,7 @@ log.lp — DistressNetwork° - + diff --git a/doc/tangle.html b/doc/tangle.html index 1559d31..816fa1b 100755 --- a/doc/tangle.html +++ b/doc/tangle.html @@ -10,7 +10,7 @@ tangle.lp — DistressNetwork° - + diff --git a/doc/weave.html b/doc/weave.html index 9edd4f1..69be660 100755 --- a/doc/weave.html +++ b/doc/weave.html @@ -10,7 +10,7 @@ weave.lp — DistressNetwork° - + diff --git a/gen-docs.sh b/gen-docs.sh index f16fe21..8c7e81e 100755 --- a/gen-docs.sh +++ b/gen-docs.sh @@ -15,6 +15,8 @@ for file in "data" "log" "tangle" "weave" ; do sed "s~~\n&~1" -i'' "$out" ; sed 's;\(.*\)@= \(.*\) =@;\1(\2);1' -i'' "$out" ; + sh "./../sync.sh" ; + echo "[ok] generated text '${file}'" ; done diff --git a/gen-freestanding.sh b/gen-freestanding.sh index 53f69ca..9477463 100755 --- a/gen-freestanding.sh +++ b/gen-freestanding.sh @@ -3,6 +3,7 @@ for file in "data" "log" "tangle" "weave" ; do in="${file}.lp" ; out="doc/freestanding/${file}.html" ; cp "doc/header-html" "$out" ; + printf "

${in}

\n" >> "$out" ; cat "doc/header-lp" "$in" | ./weave | lowdown -Thtml >> "$out" ; printf "\n" >> "$out" ; sed 's/\(.*\)@= \(.*\) =@/\1(\2)<\/span>/1' -i'' "$out" ; -- cgit v1.2.3