#!/bin/bash
# Usage: cd $LIBIGL; scripts/update_gh-pages.sh
set -o xtrace
HEADER="title: libigl
author: Alec Jacobson and Daniele Panozzo and others
css: tutorial/style.css
html header:
"
echo "$HEADER" \
| cat - README.md | multimarkdown -o index.html
echo "$HEADER" \
| cat - style-guidelines.md | multimarkdown -o style-guidelines.html
HEADER="title: libigl
author: Alec Jacobson and Daniele Panozzo and others
css: ../tutorial/style.css
html header:
"
echo "$HEADER" \
| cat - optional/README.md | multimarkdown -o optional/index.html
multimarkdown tutorial/tutorial.md -o tutorial/tutorial.html