fix css in build
This commit is contained in:
@@ -106,7 +106,7 @@ docker run --rm -v "$(pwd):/workspace" $IMAGE_NAME bash -c "
|
|||||||
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=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
|
else
|
||||||
echo \" [INFO] \$1 nicht gefunden, überspringe...\"
|
echo \" [INFO] \$1 nicht gefunden, überspringe...\"
|
||||||
fi
|
fi
|
||||||
@@ -121,7 +121,7 @@ docker run --rm -v "$(pwd):/workspace" $IMAGE_NAME bash -c "
|
|||||||
|
|
||||||
if [ -f \"\$LORE_SRC\" ]; then
|
if [ -f \"\$LORE_SRC\" ]; then
|
||||||
echo \"-> Generiere Lore-Dokument (HTML & Markdown) aus \$LORE_SRC...\"
|
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\"
|
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\"
|
pandoc -f docbook -t markdown_strict \"$OUT_DIR/temp_lore.xml\" -o \"$OUT_DIR/lore.md\"
|
||||||
rm \"$OUT_DIR/temp_lore.xml\"
|
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 ---'
|
echo '--- Baue Fließtexte / Geschichten ---'
|
||||||
if [ -f darkCenter.adoc ]; then
|
if [ -f darkCenter.adoc ]; then
|
||||||
echo \"-> Konvertiere darkCenter.adoc zu HTML...\"
|
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
|
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
|
# 5. index.html vollautomatisch und direkt generieren
|
||||||
@@ -309,10 +305,6 @@ cat << 'EOF' > "$OUT_DIR/index.html"
|
|||||||
<a href="darkCenter.html">darkCenter.html</a>
|
<a href="darkCenter.html">darkCenter.html</a>
|
||||||
<span class="file-meta">Fließtext / Kurzgeschichte (Kompiliert aus AsciiDoc)</span>
|
<span class="file-meta">Fließtext / Kurzgeschichte (Kompiliert aus AsciiDoc)</span>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<a href="masterOfTheWorld-sf.html">masterOfTheWorld-sf.html</a>
|
|
||||||
<span class="file-meta">Fließtext / Kurzgeschichte (Konvertiert aus Markdown)</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user