update base, hide todos
This commit is contained in:
18
lib.typ
18
lib.typ
@@ -13,18 +13,22 @@
|
|||||||
#let warn = callout.with(kind: "warn", label: "Warning")
|
#let warn = callout.with(kind: "warn", label: "Warning")
|
||||||
#let note = callout.with(kind: "note", label: "Note")
|
#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 example(body) = todo("example", body)
|
||||||
#let solution(body) = todo("solution", body)
|
#let solution(body) = todo("solution", body)
|
||||||
|
|
||||||
#let details(body, label: none) = {
|
#let details(body, label: none) = {
|
||||||
html.details({
|
todo(label, body)
|
||||||
if label != none {
|
// html.details({
|
||||||
html.summary(label)
|
// if label != none {
|
||||||
}
|
// html.summary(label)
|
||||||
body
|
// }
|
||||||
})
|
// body
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
#let camera() = {
|
#let camera() = {
|
||||||
|
|||||||
10
main.typ
10
main.typ
@@ -20,11 +20,11 @@
|
|||||||
#{
|
#{
|
||||||
doc("index.html", include "content/index.typ")
|
doc("index.html", include "content/index.typ")
|
||||||
doc("core.html", include "content/core.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-causes.html", include "content/interference-causes.typ")
|
||||||
doc("interference-fixes.html", include "content/interference-fixes.typ")
|
doc("interference-fixes.html", include "content/interference-fixes.typ")
|
||||||
doc("design-notes.html", include "content/design.typ")
|
// doc("design-notes.html", include "content/design.typ")
|
||||||
doc("channel-selectors.html", include "content/channels.typ")
|
// doc("channel-selectors.html", include "content/channels.typ")
|
||||||
doc("bulk-transmission.html", include "content/bulk.typ")
|
// doc("bulk-transmission.html", include "content/bulk.typ")
|
||||||
doc("network-protocols.html", include "content/network.typ")
|
// doc("network-protocols.html", include "content/network.typ")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const inputFiles = globSync(pattern);
|
|||||||
console.log(inputFiles)
|
console.log(inputFiles)
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: "/secret-knowledge/",
|
base: "/",
|
||||||
root: typDir,
|
root: typDir,
|
||||||
publicDir: pubDir,
|
publicDir: pubDir,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user