summaryrefslogtreecommitdiffstats
path: root/docs/makewebsite.sh
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-11-07 01:58:44 +0100
committerJames Rayner <james@archlinux.org>2009-11-07 01:58:44 +0100
commitecd51d8dc54e1a5c81f2c7d229b60ad089fa9de0 (patch)
tree0efaa1ecc395f0bdc0c548b896f7aef8c2986fba /docs/makewebsite.sh
parent77a2e3798ce3197146315754e813e2b902f3f0b5 (diff)
downloadnetctl-ecd51d8dc54e1a5c81f2c7d229b60ad089fa9de0.tar.gz
netctl-ecd51d8dc54e1a5c81f2c7d229b60ad089fa9de0.tar.xz
Tweak docs, add website generation
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