blob: 4ceb65d03b67024ff34242ace666045873493fa7 (
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
|
#!/usr/bin/env bash
{
printf "<!DOCTYPE html>\n"
printf "<html lang=\"en\">\n"
printf "<head>\n"
printf "<meta charset=\"utf-8\">\n"
printf "<meta name=\"author\" content=\"Peter Aronoff\">\n"
printf "<title>tapered documentation</title>\n"
printf "<link rel=\"stylesheet\" href=\"normalize.css\" "
printf "media=\"screen,projection\">\n"
printf "<link rel=\"stylesheet\" href=\"screen.css\" "
printf "media=\"screen,projection\">\n"
printf "</head>\n"
printf "<body>\n"
markdown README.md | sed -e 's/\/CHANGES.md/changes.html/' -e 's/\/LICENSE.md/license.html/' -e 's/LICENSE.md/the license/'
printf "</body>\n"
printf "</html>\n"
} > doc/index.html
{
printf "<!DOCTYPE html>\n"
printf "<html lang=\"en\">\n"
printf "<head>\n"
printf "<meta charset=\"utf-8\">\n"
printf "<meta name=\"author\" content=\"Peter Aronoff\">\n"
printf "<title>tapered version history</title>\n"
printf "<link rel=\"stylesheet\" href=\"normalize.css\" "
printf "media=\"screen,projection\">\n"
printf "<link rel=\"stylesheet\" href=\"screen.css\" "
printf "media=\"screen,projection\">\n"
printf "</head>\n"
printf "<body>\n"
markdown CHANGES.md | sed -e 's/\/README.md/index.html/' -e 's/\/LICENSE.md/license.html/' -e 's/LICENSE.md/the license/'
printf "</body>\n"
printf "</html>\n"
} > doc/changes.html
{
printf "<!DOCTYPE html>\n"
printf "<html lang=\"en\">\n"
printf "<head>\n"
printf "<meta charset=\"utf-8\">\n"
printf "<meta name=\"author\" content=\"Peter Aronoff\">\n"
printf "<title>tapered license</title>\n"
printf "<link rel=\"stylesheet\" href=\"normalize.css\" "
printf "media=\"screen,projection\">\n"
printf "<link rel=\"stylesheet\" href=\"screen.css\" "
printf "media=\"screen,projection\">\n"
printf "</head>\n"
printf "<body>\n"
markdown LICENSE.md
printf "</body>\n"
printf "</html>\n"
} > doc/license.html
|