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 ++++---- 2 files changed, 23 insertions(+), 5 deletions(-) (limited to 'docs/gen') 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, ".") " "; -- cgit v1.2.3