Commit 629cd64c authored by Arnaud Legrand's avatar Arnaud Legrand

[HTML] Build index (this is getting embarrassing. Let's hope this is the final version! ;))

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