|
@@ -2,6 +2,7 @@
|
|
|
# Usage: cd $LIBIGL; scripts/update_gh-pages.sh
|
|
|
set -o xtrace
|
|
|
git pull && git checkout gh-pages && git rebase master && git pull
|
|
|
+
|
|
|
HEADER="title: libigl
|
|
|
author: Alec Jacobson and Daniele Panozzo and others
|
|
|
css: tutorial/style.css
|
|
@@ -11,9 +12,15 @@ html header: <script type='text/javascript' src='http://cdn.mathjax.org/mathja
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
|
|
"
|
|
|
+
|
|
|
echo "$HEADER" \
|
|
|
| cat - README.md | multimarkdown -o index.html && \
|
|
|
git commit -m "update index.html to match README.md" README.md index.html
|
|
|
+
|
|
|
+echo "$HEADER" \
|
|
|
+ | cat - google-soc/google-soc.md | multimarkdown -o google-soc/index.html && \
|
|
|
+ git commit -m "update google-soc/index.html to match google-soc/google-soc.md" google-soc/google-soc.md google-soc/index.html
|
|
|
+
|
|
|
HEADER="title: libigl
|
|
|
author: Alec Jacobson and Daniele Panozzo and others
|
|
|
css: ../tutorial/style.css
|
|
@@ -23,6 +30,7 @@ html header: <script type='text/javascript' src='http://cdn.mathjax.org/mathja
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
|
|
"
|
|
|
+
|
|
|
echo "$HEADER" \
|
|
|
| cat - build/README.md | multimarkdown -o build/index.html && \
|
|
|
git commit -m "update index.html to match README.md" build/README.md \
|