1
Fork 0

small infrastructure fixes

updates to website text
updates to website generation
add a little makefile
This commit is contained in:
Jake Wheat 2015-08-15 16:17:12 +03:00
parent 455726f6c2
commit 63a23cabf4
6 changed files with 81 additions and 13 deletions

View file

@ -1,6 +1,5 @@
#! /bin/sh
set -x
set -e
# todo: check this is run from the project root and not the website/
@ -11,9 +10,11 @@ cp website/main.css build
cp website/ocean.css build
# index
asciidoctor website/index.asciidoc -o build/index.html
asciidoctor website/index.asciidoc -o - | runhaskell website/AddLinks.lhs > build/index.html
#pandoc --from=markdown --to=html website/index.txt -o build/index.html -c main.css --title=simple-sql-parser --toc
asciidoctor website/supported_sql.asciidoc -o build/supported_sql.html
asciidoctor website/supported_sql.asciidoc -o - | runhaskell website/AddLinks.lhs > build/supported_sql.html
#pandoc --from=markdown --to=html website/supported_sql.txt -o build/supported_sql.html -c main.css '--title=simple-sql-parser supported SQL' --toc