Adds support for multiple covers/metadata files

This commit is contained in:
Nemo 2019-01-31 15:25:03 +05:30
parent 1e2df2dd49
commit ae44b14dad
3 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ ruby generate.rb
pushd html/landing.google.com/sre/${BOOK_FILE}/toc
pandoc --from=html --to=epub \
--output=../../../../../${BOOK_FILE}.epub \
--epub-metadata=../../../../../metadata.xml \
--epub-cover-image=../../../../../cover.jpg \
--epub-metadata=../../../../../${BOOK_NAME}.xml \
--epub-cover-image=../../../../../${BOOK_NAME}.jpg \
complete.html
popd

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB