From d901fc45d85063d13e7269b7cf750a5a8e0dcdb7 Mon Sep 17 00:00:00 2001 From: David Allemang Date: Sun, 12 Jul 2026 16:25:43 -0400 Subject: [PATCH] update base, hide todos --- lib.typ | 18 +++++++++++------- main.typ | 10 +++++----- vite.config.js | 2 +- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/lib.typ b/lib.typ index 027c13c5..6c725799 100644 --- a/lib.typ +++ b/lib.typ @@ -13,18 +13,22 @@ #let warn = callout.with(kind: "warn", label: "Warning") #let note = callout.with(kind: "note", label: "Note") -#let todo(label, ..args) = callout(args.pos().join(), kind: "todo", label: "[TODO] " + label, outlined: true) +#let todo(label, ..args) = { + // callout(args.pos().join(), kind: "todo", label: "[TODO] " + label, outlined: true) + none +} #let example(body) = todo("example", body) #let solution(body) = todo("solution", body) #let details(body, label: none) = { - html.details({ - if label != none { - html.summary(label) - } - body - }) + todo(label, body) + // html.details({ + // if label != none { + // html.summary(label) + // } + // body + // }) } #let camera() = { diff --git a/main.typ b/main.typ index 66864544..46b5d6fc 100644 --- a/main.typ +++ b/main.typ @@ -20,11 +20,11 @@ #{ doc("index.html", include "content/index.typ") doc("core.html", include "content/core.typ") - doc("data-protocols.html", include "content/data-protocols.typ") + // doc("data-protocols.html", include "content/data-protocols.typ") doc("interference-causes.html", include "content/interference-causes.typ") doc("interference-fixes.html", include "content/interference-fixes.typ") - doc("design-notes.html", include "content/design.typ") - doc("channel-selectors.html", include "content/channels.typ") - doc("bulk-transmission.html", include "content/bulk.typ") - doc("network-protocols.html", include "content/network.typ") + // doc("design-notes.html", include "content/design.typ") + // doc("channel-selectors.html", include "content/channels.typ") + // doc("bulk-transmission.html", include "content/bulk.typ") + // doc("network-protocols.html", include "content/network.typ") } diff --git a/vite.config.js b/vite.config.js index 5633c72d..f071ad1a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,7 +13,7 @@ const inputFiles = globSync(pattern); console.log(inputFiles) export default defineConfig({ - base: "/secret-knowledge/", + base: "/", root: typDir, publicDir: pubDir,