diff --git a/build.sh b/build.sh index 85b6519..74d9220 100755 --- a/build.sh +++ b/build.sh @@ -106,7 +106,7 @@ docker run --rm -v "$(pwd):/workspace" $IMAGE_NAME bash -c " function convert_adoc() { if [ -f \"\$1\" ]; then echo \"-> Konvertiere \$1 zu HTML...\" - asciidoctor -b html5 -a stylesheet=retro-dark.css -a linkcss -a toc=left \"\$1\" -o \"$OUT_DIR/\$2\" + asciidoctor -b html5 -a stylesheet=export/retro-dark.css -a linkcss -a toc=left \"\$1\" -o \"$OUT_DIR/\$2\" else echo \" [INFO] \$1 nicht gefunden, überspringe...\" fi @@ -121,7 +121,7 @@ docker run --rm -v "$(pwd):/workspace" $IMAGE_NAME bash -c " if [ -f \"\$LORE_SRC\" ]; then echo \"-> Generiere Lore-Dokument (HTML & Markdown) aus \$LORE_SRC...\" - asciidoctor -b html5 -d book -a stylesheet=retro-dark.css -a linkcss -a toc=left \"\$LORE_SRC\" -o \"$OUT_DIR/lore.html\" + asciidoctor -b html5 -d book -a stylesheet=export/retro-dark.css -a linkcss -a toc=left \"\$LORE_SRC\" -o \"$OUT_DIR/lore.html\" asciidoctor -b docbook -d book \"\$LORE_SRC\" -o \"$OUT_DIR/temp_lore.xml\" pandoc -f docbook -t markdown_strict \"$OUT_DIR/temp_lore.xml\" -o \"$OUT_DIR/lore.md\" rm \"$OUT_DIR/temp_lore.xml\" @@ -132,13 +132,9 @@ docker run --rm -v "$(pwd):/workspace" $IMAGE_NAME bash -c " echo '--- Baue Fließtexte / Geschichten ---' if [ -f darkCenter.adoc ]; then echo \"-> Konvertiere darkCenter.adoc zu HTML...\" - asciidoctor -b html5 -d book -a stylesheet=retro-dark.css -a linkcss -a toc=left darkCenter.adoc -o \"$OUT_DIR/darkCenter.html\" + asciidoctor -b html5 -d book -a stylesheet=export/retro-dark.css -a linkcss -a toc=left darkCenter.adoc -o \"$OUT_DIR/darkCenter.html\" fi - if [ -f masterOfTheWorld-sf.md ]; then - echo \"-> Konvertiere masterOfTheWorld-sf.md zu HTML...\" - pandoc masterOfTheWorld-sf.md -f markdown -t html -s -c retro-dark.css -o \"$OUT_DIR/masterOfTheWorld-sf.html\" - fi " # 5. index.html vollautomatisch und direkt generieren @@ -309,10 +305,6 @@ cat << 'EOF' > "$OUT_DIR/index.html" darkCenter.html Fließtext / Kurzgeschichte (Kompiliert aus AsciiDoc) -
  • - masterOfTheWorld-sf.html - Fließtext / Kurzgeschichte (Konvertiert aus Markdown) -