Skip to content

Commit 1a942bf

Browse files
committed
[ cleanup ] More html structure
1 parent 2d0afd7 commit 1a942bf

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

travis/landing-bottom.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
</ul>
2+
</div>
3+
</body>
4+
</html>

travis/landing-top.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<html>
2+
3+
<head>
4+
<title>Documention for the Agda standard library</title>
5+
</head>
6+
7+
<body>
8+
<div id="container" style="width:75%; margin:auto">
9+
10+
<h1>Development versions</h1>
11+
12+
<ul>
13+
<li><a href="master">master</a></li>
14+
<li><a href="experimental">experimental</a></li>
15+
</ul>
16+
17+
<h1>Released versions</h1>
18+
19+
<ul>

travis/landing.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

travis/landing.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ set -o pipefail
33

44
rm html/index.html
55

6+
cat landing-top.html >> landing.html
7+
68
find html/ -name "index.html" \
79
| grep -v "master\|experimental" \
810
| sort -r \
911
| sed 's|html/\([^\/]*\)/index.html| <li><a href="\1">\1</a></li>|g' \
1012
>> landing.html
1113

12-
echo "</ul>" >> landing.html
14+
cat landing-bottom.html >> landing.html
1315

1416
mv landing.html html/index.html

0 commit comments

Comments
 (0)