Website for
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1012 B

website: howtos pkg-sets
pandoc --template template.html --css /style.css \
-f markdown -t html < > index.html
tidy -quiet -mi --indent-spaces 4 --wrap 111 index.html
.for f in index bootstrap jails fresh howdo
pandoc --template template.html --css /style.css \
-f markdown -t html < howto/${f}.md > howto/${f}.html
tidy -quiet -mi --indent-spaces 4 --wrap 111 howto/${f}.html
.for f in current stable release
pandoc --template template.html --css /style.css \
-f markdown -t html < ${f}/ > ${f}/index.html
tidy -quiet -mi --indent-spaces 4 --wrap 111 ${f}/index.html
update-static: website
mkdir -p build/howto build/current build/stable build/release
cp build/
cp favicon.png build/
cp style.css build/
mv index.html build/
mv howto/*.html build/howto/
mv current/index.html build/current/
mv stable/index.html build/stable/
mv release/index.html build/release/
mkdir -p site/
cp -r build/* site/
rm -r build