Skip to content

Commit 2f6f55c

Browse files
committed
finish epub generation makefile
1 parent 7bba694 commit 2f6f55c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pdf: bookbuild
2828

2929
epub: bookbuild
3030
sed -i '' 's/\(^.*~~.*$$\)/<\/pre><pre class="highlight-line">\1<\/pre><pre>/g' generated/book/epub-book.html
31+
sed -i '' 's/"\/img\//"img\//g' generated/book/epub-book.html
3132
sed -i '' 's/~~//g' generated/book/epub-book.html
3233
cd generated/book; pandoc -f html epub-book.html -t epub3 --epub-metadata=epub-metadata.xml --epub-cover-image=img/book/cover-a4.jpg --toc-depth=2 --epub-stylesheet=theme/css/epub.css -o full_stack_python.epub
3334

0 commit comments

Comments
 (0)