nifey / epub2sphinx

epub2sphinx is a tool to convert epub files to ReST for Sphinx
https://pypi.org/project/epub2sphinx/
MIT License
12 stars 2 forks source link

Build HTML files by default #30

Closed arvindpz closed 1 year ago

arvindpz commented 2 years ago

Right now to generate HTML files from an epub file, we will do something like below

epub2sphinx -o sample -t classic   sample.epub                               # (Step 1)
cd sample                                                                    # (Step 2)
make html                                                                    # (Step 3)

With this change, (Step 1) will be enough to generate the HTML files. The HTML files will be generated even if the -b flag is not specified.

If -B flag is specified, the execution will stop without any post conversions.

In addition to this,

nifey commented 1 year ago

Thanks for the PR. The changes look good.