We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 000e46e commit de27d2cCopy full SHA for de27d2c
ebook/build.sh
@@ -41,6 +41,10 @@ cat <<__METADATA__ > metadata.txt
41
<dc:title>$MSG_TITLE</dc:title>
42
__METADATA__
43
44
+mkdir -p $TMP/images
45
+cp -r $WORKDIR/images/* $TMP/images/
46
+ls [0-9]*.html | xargs sed -i "s/png?raw=true/png/g"
47
+
48
pandoc --reference-links -S --toc -f html -t epub --epub-metadata=metadata.txt --epub-cover-image="$WORKDIR/../images/cover.png" -o "$WORKDIR/../build-web-application-with-golang.epub" `ls [0-9]*.html | sort`
49
50
echo "$MSG_SUCCESSFULLY_GENERATED"
0 commit comments