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