diff --git a/main.typ b/main.typ index a05ecdf6..66864544 100644 --- a/main.typ +++ b/main.typ @@ -1,7 +1,7 @@ #set heading(numbering: "1.1 -") #set document(title: [The EID Wireless Masterclass]) -#show: it => document("index.html", html.html( +#let doc(path, it) = document(path, html.html( lang: "en", { html.head({ @@ -18,13 +18,13 @@ )) #{ - include "content/index.typ" - include "content/core.typ" - include "content/data-protocols.typ" - include "content/interference-causes.typ" - include "content/interference-fixes.typ" - include "content/design.typ" - include "content/channels.typ" - include "content/bulk.typ" - include "content/network.typ" + doc("index.html", include "content/index.typ") + doc("core.html", include "content/core.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") }