Skip to content

Commit cf73ac1

Browse files
committed
Add back PDF generation
1 parent 3eb1a57 commit cf73ac1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

blueprint/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,12 @@ sed -e 's/\[mermaid\]/[mermaid, format=svg]/g' main.adoc > main-svg.adoc
8181
echo "Generating HTML..."
8282
asciidoctor ${ASCIIDOC_ARGS} main-svg.adoc -o blueprint.html
8383

84-
# echo "Generating PDF..."
85-
# asciidoctor-pdf ${ASCIIDOC_ARGS} main.adoc --out-file blueprint.pdf
84+
echo "Generating PDF..."
85+
asciidoctor-pdf ${ASCIIDOC_ARGS} main.adoc --out-file blueprint.pdf
8686

8787
mkdir -p ../build_outputs_folder/blueprint
8888
cp blueprint.html ../build_outputs_folder/blueprint/blueprint.html
89+
cp blueprint.pdf ../build_outputs_folder/blueprint/blueprint.pdf
8990
for IMAGE in $(find . -maxdepth 1 -name "*.png") $(find . -maxdepth 1 -name "*.svg") $(find . -maxdepth 1 -name "*.jpg"); do
9091
cp ${IMAGE} ../build_outputs_folder/blueprint/
9192
done

0 commit comments

Comments
 (0)