#!/bin/bash

cat << EOT
<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Documentation</title>
<link rel="stylesheet" type="text/css" media="all" href="http://www.entrouvert.com/static/eo/css/eo.css">
<link rel="stylesheet" type="text/css" media="all" href="/skin/eo.css">
<link rel="stylesheet" type="text/css" media="all" href="pandoc.css">
</head>
<body>
<h1 id="logo">
<a href="/"><img src="http://www.entrouvert.com/static/eo/img/logo.png" alt="Entr'ouvert"></a> Gestion d'identité SUPANN &mdash; Documentation</h1>
<dl class="doc-index">
EOT

for MD in architecture.md installation-base.md installation-ldap.md exploitation-ldap.md installation-ldapsaisie.md exploitation-ldapsaisie.md installation-idp-authentic.md exploitation-idp-authentic.md
do
	F=`basename $MD .md`
	TITLE=`head -1 $F.md | sed 's/.*-- //'`
cat << EOT
<dt><a href="$F.html">$TITLE</a>
 [<a href="$F.pdf">PDF</a>]</dt>
<dd><p></p></dd>
EOT
done

cat << EOT
</body>
</html>
EOT
