Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epub Download? #127

Open
Eddie-Hartman opened this issue Aug 30, 2021 · 3 comments
Open

Epub Download? #127

Eddie-Hartman opened this issue Aug 30, 2021 · 3 comments

Comments

@Eddie-Hartman
Copy link

How do I actually get the epub version to download? The gitbook link requires an account AND a phone number. Is that the only option?

@nickkelley42
Copy link

I agree that an option for downloading and/or making the epub without creating an account would be nice. What I ended up doing was using Pandoc to create the epub myself.

Inside the directory for the language you want, run:

pandoc --metadata title='How To Be A Programmer' -o HowToBeAProgrammer.epub $(find -name '*.md' | sort)

It's a bit gnarly because sort puts the READMEs after the chapters, but it's good enough for me.

@braydie
Copy link
Owner

braydie commented Sep 5, 2021 via email

@nickkelley42
Copy link

I can make a PR with a cleaned-up version of the command I used to generate the epub. My only reservation is my epub/PDF knowledge is pretty limited; the links in the ebook that I've made are broken, and I'm not sure of a clean way to fix the links without breaking the nice structure that exists in the GitHub repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants