Commit 089c5be7 authored by Arnaud Legrand's avatar Arnaud Legrand

Stupid me!!! This is why my perl script had no effect

parent b423f394
...@@ -8,7 +8,7 @@ pages: ...@@ -8,7 +8,7 @@ pages:
- for file in $(find -name "*.md"); do - for file in $(find -name "*.md"); do
pandoc -s -f gfm -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" && echo "<li><a href='https://learninglab.gitlabpages.inria.fr/mooc-rr/mooc-rr-ressources/${file%.*}.html'>${file%.*}.html</a></li>" >> index.html || echo "ERROR $file"; pandoc -s -f gfm -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" && echo "<li><a href='https://learninglab.gitlabpages.inria.fr/mooc-rr/mooc-rr-ressources/${file%.*}.html'>${file%.*}.html</a></li>" >> index.html || echo "ERROR $file";
bin/pandoc_fixer.pl ${file} > ${file}.new; bin/pandoc_fixer.pl ${file} > ${file}.new;
mv ${file}.new ${file}; mv ${file}.new ${file%.*}.html;
done done
# The next part is broken because pandoc is way too old on this image :( # The next part is broken because pandoc is way too old on this image :(
# - for file in $(find -name "*.org"); do # - for file in $(find -name "*.org"); do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment