Browse Source

swarmlab.io

master
test2 5 years ago
parent
commit
d7eadf47cd
  1. 4
      INSTALL.md
  2. 4
      install/usr/share/swarmlab.io/adoc/swarmlab-adoc

4
INSTALL.md

@ -2,7 +2,7 @@
## Clone repo ## Clone repo
See http://docs.vlabs.uniwa.gr/Howtos/git/use-git.adoc.html See http://docs.swarmlab.io/Howtos/git/use-git.adoc.html
@ -52,7 +52,7 @@ fi
# Install Docker and Compose # Install Docker and Compose
See http://docs.vlabs.uniwa.gr/Howtos/docker/install.adoc.html See http://docs.swarmlab.io/Howtos/docker/install.adoc.html
Ready :-) Ready :-)

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.vlabs.uniwa.gr: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.swarmlab.io: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.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor-pdf --safe -a toc -o $file.pdf $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
echo "Created $file.pdf" echo "Created $file.pdf"
done done

Loading…
Cancel
Save