aboutsummaryrefslogtreecommitdiff
path: root/docs/gen/doc.m4
blob: b98eb64e93e97ff4d83cc39d63e4c531dd6a119c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
define(`docname',
	ifelse(NAME, `pva', `Plan van aanpak',
	       NAME, `pve', `Pakket van eisen',
	       NAME, `research', `Research document',
	       NAME, `design', `Design document',
	       NAME, `gameplay', `Game design document',
	       NAME, `architecture', `Architecture document',
				 `UNKNOWN???'))dnl

<!DOCTYPE html>
<html lang="en-US">
<link>
	<meta charset="utf-8">
	<style>undivert(`style.css')</style>
	<script>undivert(`paged.polyfill.js')</script>
	`<script defer>
	window.onload = function() {
		document.querySelectorAll("nav li").forEach(item => {
			var heading = "";
			var parent = item;
			for (parent = item; parent.nodeName != "NAV"; parent = parent.parentNode) {
				if (parent.nodeName != "LI") continue;
				heading = parent.getAttribute("data-item-num") + "." + heading;
			}

			item.setAttribute("heading-num-fix", heading.substr(0, heading.length - 1));
		});
	}
	</script>'
</head>
<body>
	<div class="docintro">
		<span class="left">
			docname()<br/>
			Project arcade game<br/>
			esyscmd(`LANG="en_US.utf8" date "+%B %d, %Y"')
		</span>
		<span class="right">
			Bjorn Martens <b>(2187272)</b><br/>
			Frenk van de Nieuwegiessen <b>(2162515)</b><br/>
			Joshua Regnier <b>(2183008)</b><br/>
			Loek Le Blansch <b>(2180996)</b><br/>
			Niels Stunnebrink <b>(2184532)</b>
		</span>
	</div>
	<h1>Table of contents</h1>
	undivert(NAME`.toc')
	undivert(NAME`.con')
</body>
</html>