You can do this on the Generation Settings page for your book, which you can find by going here:
https://leanpub.com/YOUR_BOOK/settings/generation_settings
...making sure to replace YOUR_BOOK with your book's unique web address.
you can modify whether we generate no web page, a sample HTML version or a full HTML version. So, if you choose "No web page" you should get what you want.
Please note that if you choose "No web page" we still allow Leanpub readers who have bought the book to read the EPUB in their web browser. EPUB is just zipped HTML plus some metadata, of course. However, we assume that's OK :)
If you have any feedback or questions about this article, please email the Leanpub team about it at hello@leanpub.com!
If you have any questions or thoughts on writing and self-publishing with Leanpub, please join our global community of authors in our Authors Forum here!
Are you interested in self-publishing, and creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes: http://help.leanpub.com/en/articles/3088382-quick-walkthroughs-for-getting-started-on-a-leanpub-book
Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!
Subscribe to our YouTube channel here: https://www.youtube.com/leanpub
Please subscribe to our YouTube channel here: https://www.youtube.com/leanpub
You can also follow Leanpub in lots of other places!