Browse Source

vlabs

master
test2 5 years ago
parent
commit
34afe88d4c
  1. 4
      install/usr/share/swarmlab.io/adoc/swarmlab-adoc

4
install/usr/share/swarmlab.io/adoc/swarmlab-adoc

@ -30,9 +30,9 @@ PWD=$(pwd)
for file in $(find . -name '*.adoc'); for file in $(find . -name '*.adoc');
do do
echo "Create html5 from $file" echo "Create html5 from $file"
docker run --name=swarmlab-adoc --rm -v $PWD:/documents/ registry.swarmlab.io:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o $file.html $file docker run --name=swarmlab-adoc --rm -v $PWD:/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o $file.html $file
echo "Created $file.html" echo "Created $file.html"
echo "Create pdf from $file" echo "Create pdf from $file"
docker run --name=swarmlab-adoc --rm -v $PWD:/documents/ registry.swarmlab.io:5080/swarmlab-asciidoctor asciidoctor-pdf --safe -a toc -o $file.pdf $file docker run --name=swarmlab-adoc --rm -v $PWD:/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor-pdf --safe -a toc -o $file.pdf $file
echo "Created $file.pdf" echo "Created $file.pdf"
done done

Loading…
Cancel
Save