Commit dc1399f0 authored by Arnaud Legrand's avatar Arnaud Legrand

[HTML] Frafile regexps...

parent 00766d0e
...@@ -11,7 +11,7 @@ pages: ...@@ -11,7 +11,7 @@ pages:
mkdir -p public/`dirname ${file}`; mkdir -p public/`dirname ${file}`;
mv ${file%.*}.html public/`dirname ${file}`/; mv ${file%.*}.html public/`dirname ${file}`/;
done done
- cat html_src_files.lst | sed -e 's|.md *#|.html|' -e 's|.org *#|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org - cat html_src_files.lst | sed -e 's|.md *#|.html #|' -e 's|.org *#|.html #|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org
- pandoc -s -f org -t html -o public/index.html index.org - pandoc -s -f org -t html -o public/index.html index.org
artifacts: artifacts:
paths: paths:
......
...@@ -19,7 +19,7 @@ pages: ...@@ -19,7 +19,7 @@ pages:
mkdir -p public/`dirname ${file}`; mkdir -p public/`dirname ${file}`;
mv ${file%.*}.html public/`dirname ${file}`/; mv ${file%.*}.html public/`dirname ${file}`/;
done done
- cat html_src_files.lst | sed -e 's|.md *#|.html|' -e 's|.org *#|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org - cat html_src_files.lst | sed -e 's|.md *#|.html #|' -e 's|.org *#|.html #|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org
- pandoc -s -f org -t html -o public/index.html index.org - pandoc -s -f org -t html -o public/index.html index.org
artifacts: artifacts:
paths: paths:
......
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