diff options
author | eudoxia <uplink@distress.network> | 2022-04-01 00:04:08 -0400 |
---|---|---|
committer | eudoxia <uplink@distress.network> | 2022-04-01 00:04:08 -0400 |
commit | eac46231ab86e3b6a3862c92323ee58fe1ee722b (patch) | |
tree | 0440a92a680eb402735991cd4fa791de0c6437fa /doc/weave.html | |
parent | 27f4773b122a2758cfaf88537c9e1a8ad5df7e69 (diff) |
doc generation integrated with distress.network
Diffstat (limited to 'doc/weave.html')
-rw-r--r-- | doc/weave.html | 60 |
1 files changed, 29 insertions, 31 deletions
diff --git a/doc/weave.html b/doc/weave.html index 6aaf6c8..9bfee51 100644 --- a/doc/weave.html +++ b/doc/weave.html @@ -3,51 +3,41 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> -<style> -* {box-sizing: border-box;} -html { ---fs-sans: Helvetica, "Helvetica Neue", Arial, "San Francisco", sans; ---fs-mono: jetbrains-mono-regular, Consolas, Menlo, monospace; -font-size: 16px; -} -body {background-color: #111; color: #ddd; margin: 2rem calc(50% - 32rem); font-family: var(--fs-sans); font-size: 1rem; font-style: normal;} -body * {line-height: 1.5; text-align: justify; text-justify: inter-word;} -h1,h2 {font-family: var(--fs-sans); margin: 2rem 0 1rem; font-weight: bold; line-height: 1;} -h1 {font-size: 3rem;} -h2 {font-size: 2rem;} -h3 {margin: 1rem; font-size: 1rem; font-weight: normal; font-style: italic;} -code,code * {font-family: var(--fs-mono); hyphens: none; line-height: 1.25rem;} -body>pre {background-color: #000; margin: 1rem; padding: 1rem; white-space: pre-wrap; border-radius: 0.25rem;} -ul,ol {margin: 1rem 0; padding: 0 0 0 2rem;} -ul ul,ol ol {margin: 0;} -.ref {font-family: var(--fs-sans); font-style: italic;} -@media screen and (max-width: 68rem) {body {margin: 2rem calc(50% - 24rem);}} -@media screen and (max-width: 52rem) {body {margin: 2rem calc(50% - 16rem);}} -@media screen and (max-width: 36rem) {body {margin: 2rem; hyphens: auto;} h3,body>pre {margin: 1rem 0}} -</style> +<link rel="stylesheet" href="/fonts/fonts.css"> +<link rel="stylesheet" href="/css/main.css"> +<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png"> +<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png"> +<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png"> +<link rel="manifest" href="/favicon/site.webmanifest"> +<title>weave.lp — DistressNetwork°</title> +<meta http-equiv="last-modified" content="2022-03-31 23:28:57-04:00" /> +<style>.lp-ref {font-family: neue-haas-grotesk-text, var(--fs-sans); font-style: italic;}</style> </head> - <body> +<div class="contentlevel"> +<main> +<div class="leading">weave.lp</div> +<hr> <h1 id="weave.zig">weave.zig</h1> <p>The structure of this file is quite similar to that of <code>tangle.zig</code>, only differing in terms of which functions are used to transform the input data.</p> <h3 id="section">*:</h3> -<pre><code><span class="ref" >(Imports)</span> +<pre><code><span class="lp-ref">(Imports)</span> pub fn main() !u8 { - <span class="ref" >(IO initialization)</span> + <span class="lp-ref">(IO initialization)</span> - <span class="ref" >(Allocator initialization)</span> + <span class="lp-ref">(Allocator initialization)</span> - <span class="ref" >(Read file from stdin)</span> + <span class="lp-ref">(Read file from stdin)</span> - <span class="ref" >(Split into lines)</span> + <span class="lp-ref">(Split into lines)</span> - <span class="ref" >(Generate text)</span> + <span class="lp-ref">(Generate text)</span> - <span class="ref" >(Write to stdout)</span> + <span class="lp-ref">(Write to stdout)</span> return 0; } @@ -121,5 +111,13 @@ defer arena.deinit(); try stdout.writer().print("{s}\n", .{line}); } </code></pre> +</main> +<nav> +</nav> +</div> +<footer> +<p><a href="/info">About.</a> <a href="mailto:uplink@distress.network">Contact.</a> <a href="/cw.html">Content Warning.</a> <a href="https://git.distress.network">Git.</a> <a href="/meta/sitemap">Sitemap.</a> <a href="https://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0.</a></p> +<img src="/media/distressnetwork-w.svg" alt=""> +</footer> </body> -</html>
\ No newline at end of file +</html> |