summaryrefslogtreecommitdiffstats
path: root/docs/makewebsite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/makewebsite.sh')
-rwxr-xr-xdocs/makewebsite.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/makewebsite.sh b/docs/makewebsite.sh
new file mode 100755
index 0000000..06d8f6d
--- /dev/null
+++ b/docs/makewebsite.sh
@@ -0,0 +1,7 @@
+#! /bin/bash
+PAGES=(index ethernet features wireless)
+
+for page in ${PAGES[@]}; do
+ rm ${page}.html
+ pandoc --toc -w html --email-obfuscation=javascript -B website/header.html -A website/footer.html -o ${page}.html $page
+done