Commit 12d7505
Eric Bower
·
2026-04-16 13:23:48 -0400 EDT
parent 7ce50ee
docs: copy and cleanup
3 files changed,
+16,
-6
+2,
-5
| ... | ... | @@ -159,11 +159,8 @@ pub fn build(b: *std.Build) void { | |
| 159 | 159 | // Upload artifacts to pgs | |
| 160 | 160 | { | |
| 161 | 161 | const upload_step = b.step("upload", "Upload docs and dist to pgs.sh:/zmx"); | |
| 162 | - | const gen_doc = b.addSystemCommand(&.{ | |
| 163 | - | "sh", "-c", | |
| 164 | - | "cat README.md | pdocs -tmpl index.tmpl -toc | ssh pgs.sh /zmx/index.html" | |
| 165 | - | }); | |
| 166 | - | const rsync_docs = b.addSystemCommand(&.{ "rsync", "-v", "logo.png", "pgs.sh:/zmx/logo.png" }); | |
| 162 | + | const gen_doc = b.addSystemCommand(&.{ "sh", "-c", "cat README.md | pdocs -tmpl index.tmpl -toc | ssh pgs.sh /zmx/index.html" }); | |
| 163 | + | const rsync_docs = b.addSystemCommand(&.{ "rsync", "-v", "./logo.png", "pgs.sh:/zmx/" }); | |
| 167 | 164 | const rsync_dist = b.addSystemCommand(&.{ "rsync", "-rv", "zig-out/dist/", "pgs.sh:/zmx/a" }); | |
| 168 | 165 | ||
| 169 | 166 | upload_step.dependOn(&gen_doc.step); |
+13,
-0
| ... | ... | @@ -14,6 +14,19 @@ | |
| 14 | 14 | ||
| 15 | 15 | <body> | |
| 16 | 16 | <div class="debug-grid"></div> | |
| 17 | + | <nav class="mk-nav"> | |
| 18 | + | <div class="flex flex-wrap items-center justify-center gap-2" style="margin-right: 20px;"> | |
| 19 | + | <a href="https://bower.sh/?tag=zmx" class="link-alt"> | |
| 20 | + | blog | |
| 21 | + | </a> | |
| 22 | + | <a href="https://github.com/neurosnap/zmx" class="link-alt"> | |
| 23 | + | src | |
| 24 | + | </a> | |
| 25 | + | <a href="https://web.libera.chat/gamja?autojoin=#pico.sh" class="link-alt"> | |
| 26 | + | chat | |
| 27 | + | </a> | |
| 28 | + | </div> | |
| 29 | + | </nav> | |
| 17 | 30 | <div class="post-group" style="flex-direction: row;"> | |
| 18 | 31 | <article class="md toc" style="height: 98vh; padding-top: 40px;"> | |
| 19 | 32 | {{.Data.TocHtml}} |
+1,
-1
| ... | ... | @@ -1174,7 +1174,7 @@ fn help() !void { | |
| 1174 | 1174 | \\ `--fish` is required when the session runs fish shell. | |
| 1175 | 1175 | \\ | |
| 1176 | 1176 | \\ If the command hangs, send Ctrl+C to recover: | |
| 1177 | - | \\ zmx run <session> $'\\x03' | |
| 1177 | + | \\ zmx run <session> printf '\x03' | |
| 1178 | 1178 | \\ | |
| 1179 | 1179 | \\ Examples: | |
| 1180 | 1180 | \\ zmx run dev ls |