summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/install.typ4
-rw-r--r--docs/typ/style.typ4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/typ/install.typ b/docs/typ/install.typ
index 9114f44c..37e07d1a 100644
--- a/docs/typ/install.typ
+++ b/docs/typ/install.typ
@@ -3,6 +3,6 @@
#import "style.typ": cmd
With Zig 0.16 (the build fetches everything else):
-#cmd("zig build -Dplatform=tty --prefix ~/.local # pardes, in a terminal")
-#cmd("zig build -Dplatform=gui --prefix ~/.local # pardes-gui, its own window")
+#cmd("# pardes, in a terminal\nzig build -Dplatform=tty --prefix ~/.local")
+#cmd("# pardes-gui, its own window\nzig build -Dplatform=gui --prefix ~/.local")
Then run `pardes` or `pardes FILE`.
diff --git a/docs/typ/style.typ b/docs/typ/style.typ
index 903a8273..ed713537 100644
--- a/docs/typ/style.typ
+++ b/docs/typ/style.typ
@@ -202,7 +202,7 @@
#let file(p) = context if html-out() { span("file", raw(p)) } else { m(p, fill: palette.str) }
/// A shell line.
-#let cmd(c) = context if html-out() { raw(c, block: true, lang: "sh") } else {
+#let cmd(c) = context if html-out() { html.elem("div", attrs: (class: "cmd"), raw(c, block: true, lang: "sh")) } else {
let tight = density.get() == "tight"
block(
width: 100%, spacing: if tight { 0.4em } else { 0.9em },
@@ -256,7 +256,7 @@
/// Where pardes lives and under what licence, for the site's footer (and
/// any output that wants them). none until decided.
-#let project = (source: none, license: none)
+#let project = (source: "https://git.0x4200.cafe/pardes", license: "ISC")
/// A glossary: like #pairs, under its own heading. On paper the heading
/// and the table; in HTML a <details> that starts closed, its summary the