From e52d0d34a3e30bfda68b3e3deb383c7e47ffe682 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 19 Nov 2022 12:53:13 +0100 Subject: more better document generation --- docs/gen/doc.m4 | 20 +++++++++++++++++++- docs/gen/style.css | 8 ++++---- docs/pva.md | 12 ------------ docs/pve.md | 13 +------------ 4 files changed, 24 insertions(+), 29 deletions(-) diff --git a/docs/gen/doc.m4 b/docs/gen/doc.m4 index 3ad8009..fe1c408 100644 --- a/docs/gen/doc.m4 +++ b/docs/gen/doc.m4 @@ -1,11 +1,29 @@ +define(`docname', + ifelse(NAME, `pva', `Plan van aanpak', + NAME, `pve', `Pakket van eisen', + `UNKNOWN???'))dnl + - + +
+ + docname()
+ Project Domotica
+ esyscmd(`LANG="en_US.utf8" date "+%B %d, %Y"') +
+ + Joshua Regnier (2183008)
+ Loek Le Blansch (2180996)
+ Niels Stunnebrink (2184532) +
+
+

Table of contents

undivert(NAME`.toc') undivert(NAME`.con') diff --git a/docs/gen/style.css b/docs/gen/style.css index fe107da..ac5c18a 100644 --- a/docs/gen/style.css +++ b/docs/gen/style.css @@ -46,7 +46,7 @@ border-bottom: 1pt solid black; } - .docintro p { + .docintro { display: flex; flex-direction: row; justify-content: space-between; @@ -66,16 +66,16 @@ break-before: page; } - ol { + #TOC ol { counter-reset: item; } - li { + #TOC li { display: block; position: relative; } - li::before { + #TOC li::before { position: absolute; left: 0; content: counters(item, ".") " "; diff --git a/docs/pva.md b/docs/pva.md index c089e37..3524c5e 100644 --- a/docs/pva.md +++ b/docs/pva.md @@ -1,17 +1,5 @@ [Trello]: https://trello.com/b/LSiYzM8C/casadomotica -
- - Plan van aanpak
- Project Domotica -
- - Joshua Regnier (2183008)
- Loek Le Blansch (2180996)
- Niels Stunnebrink (2184532) -
-
- # Backgrounds ## Project diff --git a/docs/pve.md b/docs/pve.md index 7d41b99..48daca4 100644 --- a/docs/pve.md +++ b/docs/pve.md @@ -1,16 +1,5 @@ -
- - Pakket van eisen
- Project Domotica -
- - Joshua Regnier (2183008)
- Loek Le Blansch (2180996)
- Niels Stunnebrink (2184532) -
-
- # Introduction + node = one node that contains both a button and a LED SE = self explanatory -- cgit v1.2.3