Skip to content

epub version (How To) #106

@bashfulrobot

Description

@bashfulrobot

I am not sure of the best way to approach this (to officially support on your end or not), but I generated an epub for the book using https://github.com/Michael-F-Bryan/mdbook-epub.

Steps

  • Since I am on Ubuntu, I had to update the createBookFromReadme.sh to use the csplit command (search and replace).
  • On Ubuntu I had to search and replace mdBook with mdbook in the script as well.
  • Installed mdbook with cargo install mdbook --version 0.3.7 (the epub requires an older version)
  • installed mdbook-epub with cargo install mdbook-epub
  • Removed the data before "## Introduction" in the README.md due to a missing SVG file.
  • added [output.epub] to the bottom of book.toml
  • ran createBookFromReadme.sh - this results in the web preview having a 404, can ignore, and just ctrl-c to kill the script.
  • The epub should be in the book directory

I just wanted to share the process in case any others wanted to add the book to a reader, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions