aboutsummaryrefslogtreecommitdiffhomepage
path: root/www/build.tes
blob: 848a63cb44dc8787672b397f5511a32d856b917b (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#!/usr/local/bin/sciteco -m
!*
 * Generate the website at https://sciteco.fmsbw.de
 * This reuses content from Markdown and grohtml-generated documents.
 * Everything else is cross-linked to Sourceforge.
 * It must currently be run from the www/ subdirectory of the source tree.
 * sciteco -m build.tes <builddir>
 * Required tools: lowdown
 *!
[[1]][builddir]

!*
 * Perhaps everything should be white on black, like in a terminal?
 * The first line could be inverted (black on white).
 *!
@[header]{I
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>SciTECO - &lt;Website&gt; Q[title]</title>
	<link rel="icon" type="image/x-icon" href="https://sciteco.fmsbw.de/graphics/sciteco.ico">
	<meta name="description" content="Advanced TECO dialect and interactive screen editor based on Scintilla">
	<style>
	@import "https://www.nerdfonts.com/assets/css/webfont.css";

	.reverse {
		background-color: black;
		color: white;
	}

	/* For grohtml-generated content */
	.grohtml p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
	.grohtml pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
	.grohtml table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
	.grohtml h1      { text-align: center }
	</style>
</head>
<body>
<tt>
	SciTECO - &lt;Website&gt; 
	<span class="nf nf-md-home"></span> <a href="index.html">Home</a> /
	<span class="nf nf-md-image"></span> <a href="screenshots.html">Screenshots</a> /
	<span class="nf nf-md-floppy_variant"></span> <a href="https://sciteco.fmsbw.de/downloads" target=_blank>Downloads</a> /
	<span class="nf nf-fa-book_atlas"></span> <a href="sciteco.1.html"><b>sciteco</b>(1)</a> /
	<span class="nf nf-fa-book_bible"></span> <a href="sciteco.7.html"><b>sciteco</b>(7)</a> /
	<span class="nf nf-fa-brain"></span> <a href="https://sciteco.fmsbw.de/knowledge" target=_blank>Knowledge Base</a> /
	<span class="nf nf-dev-git"></span> <a href="https://git.fmsbw.de/sciteco" target=_blank>Git</a>
</tt>
<hr>
}

!* This is a macro, so we can potentially customize the content per page *!
@[footer]{I
<hr>
<tt>
<table width="100%"><tr>
	<td width="1ch" valign=top><b>*</b></td>
	<td valign=top><marquee>IThis page was made with SciTECO.<span class=reverse>$</span>-EX<span class=reverse>$$</span></marquee></td>
	<td width=56><a href="mailto:hackers@fmsbw.de" target=_blank>
		<img src="https://sciteco.fmsbw.de/graphics/notbug.gif" title="There are no bugs. Go away.">
	</a></td>
</tr></table>
</tt>
</body>
</html>
}

EBindex.html HK
  [title]Home M[header]
  EClowdown -thtml --html-no-skiphtml --html-no-escapehtml ../NEWS.md
  I<hr>
  EClowdown -thtml --html-no-skiphtml --html-no-escapehtml ../README.md
  M[footer]
EW

EBscreenshots.html HK
  [title]Screenshots M[header]
  EClowdown -thtml --html-no-skiphtml --html-no-escapehtml screenshots.md
  M[footer]
EW

[grohtml-header]
  <p class="nf nf-fa-warning"> This documents the project's HEAD revision.</p>
  <div class="grohtml">

!*
 * FIXME: Support out-of-tree builds.
 * Perhaps pass in the biuld directory.
 *!
EBQ[builddir]/doc/sciteco.1.html
  S<body>S<h1  L 0,.K
  [title]sciteco(1) M[header] G[grohtml-header]
  FD<hr>S</body> .,ZK
  M[footer]
EWsciteco.1.html

EBQ[builddir]/doc/sciteco.7.html
  S<body>S<h1  L 0,.K
  [title]sciteco(7) M[header] G[grohtml-header]
  FD<hr>S</body> .,ZK
  M[footer]
EWsciteco.7.html

!*
 * These grohtml-generated documents are not in the header bar,
 * but still postprocessed for consinstency.
 *!

EBQ[builddir]/doc/grosciteco.tes.1.html
  S<body>S<h1  L 0,.K
  [title]grosciteco.tes(1) M[header] G[grohtml-header]
  FD<hr>S</body> .,ZK
  M[footer]
EWgrosciteco.tes.1.html

EBQ[builddir]/doc/tedoc.tes.1.html
  S<body>S<h1  L 0,.K
  [title]tedoc.tes(1) M[header] G[grohtml-header]
  FD<hr>S</body> .,ZK
  M[footer]
EWtedoc.tes.1.html

EBQ[builddir]/doc/tutorial.html
  S<body>S<h1  L 0,.K
  [title]Tutorial M[header] G[grohtml-header]
  FD<hr>S</body> .,ZK
  M[footer]
EWtutorial.html

EX