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 {
159159 // Upload artifacts to pgs
160160 {
161161 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/" });
167164 const rsync_dist = b.addSystemCommand(&.{ "rsync", "-rv", "zig-out/dist/", "pgs.sh:/zmx/a" });
168165
169166 upload_step.dependOn(&gen_doc.step);
+13, -0
......@@ -14,6 +14,19 @@
1414
1515 <body>
1616 <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>
1730 <div class="post-group" style="flex-direction: row;">
1831 <article class="md toc" style="height: 98vh; padding-top: 40px;">
1932 {{.Data.TocHtml}}
+1, -1
......@@ -1174,7 +1174,7 @@ fn help() !void {
11741174 \\ `--fish` is required when the session runs fish shell.
11751175 \\
11761176 \\ If the command hangs, send Ctrl+C to recover:
1177- \\ zmx run <session> $'\\x03'
1177+ \\ zmx run <session> printf '\x03'
11781178 \\
11791179 \\ Examples:
11801180 \\ zmx run dev ls