Merge commit 'de27d2c78876c44182cd4accf15bbffdb43da2cc' into ja
This commit is contained in:
@@ -41,6 +41,10 @@ cat <<__METADATA__ > metadata.txt
|
|||||||
<dc:title>$MSG_TITLE</dc:title>
|
<dc:title>$MSG_TITLE</dc:title>
|
||||||
__METADATA__
|
__METADATA__
|
||||||
|
|
||||||
|
mkdir -p $TMP/images
|
||||||
|
cp -r $WORKDIR/images/* $TMP/images/
|
||||||
|
ls [0-9]*.html | xargs sed -i "s/png?raw=true/png/g"
|
||||||
|
|
||||||
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`
|
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`
|
||||||
|
|
||||||
echo "$MSG_SUCCESSFULLY_GENERATED"
|
echo "$MSG_SUCCESSFULLY_GENERATED"
|
||||||
|
|||||||
Reference in New Issue
Block a user