old build state,only sonnensystem

This commit is contained in:
dexta.de
2026-07-20 20:37:09 +02:00
parent cfa5985f44
commit 01ba580d34
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -9,7 +9,7 @@ chown -R appuser:appgroup "$OUTPUT_DIR"
function convert_adoc() { function convert_adoc() {
if [ -f "$1" ]; then if [ -f "$1" ]; then
echo "-> Konvertiere $1 zu HTML..." echo "-> Konvertiere $1 zu HTML..."
asciidoctor -b html5 -a stylesheet=$TEMPLATES/retro-dark.css -a linkcss -a toc=left "$INPUT_DIR/$1" -o "$OUTPUT_DIR/$2" asciidoctor -b html5 -a stylesheet=$TEMPLATES/retro-dark.css -a linkcss -a toc=left $1 -o $2
else else
echo " [INFO] $1 nicht gefunden, überspringe..." echo " [INFO] $1 nicht gefunden, überspringe..."
fi fi
@@ -17,7 +17,7 @@ function convert_adoc() {
echo '--- Baue README ---' echo '--- Baue README ---'
convert_adoc README.adoc README.html convert_adoc "$INPUT_DIR/README.adoc" "$OUTPUT_DIR/README.html"
echo '--- Baue Lore (Master-Dokument) ---' echo '--- Baue Lore (Master-Dokument) ---'
LORE_SRC="$INPUT_DIR/index.adoc" LORE_SRC="$INPUT_DIR/index.adoc"
@@ -39,9 +39,11 @@ if [ -f "$INPUT_DIR/darkCenter.adoc" ]; then
asciidoctor -b html5 -d book -a stylesheet=$TEMPLATES/retro-dark.css -a linkcss -a toc=left "$INPUT_DIR/darkCenter.adoc" -o "$OUTPUT_DIR/darkCenter.html" asciidoctor -b html5 -d book -a stylesheet=$TEMPLATES/retro-dark.css -a linkcss -a toc=left "$INPUT_DIR/darkCenter.adoc" -o "$OUTPUT_DIR/darkCenter.html"
fi fi
rm -rf ./export rm -rf export
mkdir "$OUTPUT_DIR/css" mkdir "$OUTPUT_DIR/css"
cp "$TEMPLATES/retro-dark.css" "$OUTPUT_DIR/css/" cp "$TEMPLATES/retro-dark.css" "$OUTPUT_DIR/css/"
cp "$TEMPLATES/index.html" "$OUTPUT_DIR/" cp "$TEMPLATES/index.html" "$OUTPUT_DIR/"
sed -i 's/\/workspace\/templates/css/g' "$OUTPUT_DIR/darkCenter.html" sed -i 's/\/workspace\/templates/css/g' "$OUTPUT_DIR/darkCenter.html"
chown -R appuser:appgroup "$OUTPUT_DIR" sed -i 's/\/workspace\/templates/css/g' "$OUTPUT_DIR/lore.html"
sed -i 's/\/workspace\/templates/css/g' "$OUTPUT_DIR/README.html"
chown -R appuser:appgroup "$OUTPUT_DIR"
+1 -1
View File
@@ -13,4 +13,4 @@ ADD ./90_builder/bookFold.sh ./
RUN chown -R appuser:appgroup /workspace RUN chown -R appuser:appgroup /workspace
CMD ["/usr/bin/bash" "./bookFold.sh"] CMD ["/workspace/bookFold.sh"]