SomeNet
/
public repos
/
fsinf
/
basics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Web-Version is generated with obfuscated email addresses
[fsinf/basics.git]
/
build-web.sh
1
#!/bin/bash
2
./gitinfohook.sh
3
if [ -f /usr/bin/pandoc ]
4
then
5
cat includes/basics_web_header.html > basics.html
6
pandoc \
7
--smart \
8
--table-of-contents \
9
--toc-depth=2 \
10
--email-obfuscation=references \
11
--output=- \
12
basics.tex >> basics.html
13
else
14
echo "Error: pandoc executable is needed to generate web version"
15
fi