1
|
#!/bin/bash
|
2
|
|
3
|
cat << EOT
|
4
|
<!DOCTYPE html>
|
5
|
<html lang="fr">
|
6
|
<head>
|
7
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
8
|
<title>Documentation</title>
|
9
|
<link rel="stylesheet" type="text/css" media="all" href="http://www.entrouvert.com/static/eo/css/eo.css">
|
10
|
<link rel="stylesheet" type="text/css" media="all" href="/skin/eo.css">
|
11
|
<link rel="stylesheet" type="text/css" media="all" href="pandoc.css">
|
12
|
</head>
|
13
|
<body>
|
14
|
<h1 id="logo">
|
15
|
<a href="/"><img src="http://www.entrouvert.com/static/eo/img/logo.png" alt="Entr'ouvert"></a> U-Auth — Documentation</h1>
|
16
|
<dl class="doc-index">
|
17
|
EOT
|
18
|
|
19
|
for MD in install.md customize.md configuration-pfsense.md
|
20
|
do
|
21
|
F=`basename $MD .md`
|
22
|
TITLE=`head -1 $F.md | sed 's/.*-- //'`
|
23
|
cat << EOT
|
24
|
<dt><a href="$F.html">$TITLE</a>
|
25
|
[<a href="$F.pdf">PDF</a>]</dt>
|
26
|
<dd><p></p></dd>
|
27
|
EOT
|
28
|
done
|
29
|
|
30
|
cat << EOT
|
31
|
</body>
|
32
|
</html>
|
33
|
EOT
|