An ebook generator from asciidoc to html/pdf/ebpu/mobi .
= Asciibook
:toc:
Asciibook is an Ebook generator for converting AsciiDoc to HTML, PDF and EPUB.
== Installation
Asciibook uses docker as distribution tool. Docker helps deal with dependencies, keeps the local environment clean, and works well with CI / CD tools.
You can download and install docker in https://www.docker.com/products/docker-desktop .
After installed docker, Pull the docker image:
== Usage
First, enter container enviroment in your AsciiDoc file diretory:
Following command is executed inside the container environment.
For a existing AsciiDoc file, run this command to build all formats:
Generated results will be placed in the build
folder.
Or generate partial formats:
If you don’t want to type the parameters repeatedly, you can create a configuration file for the document:
It will create a config file named asciibook.yml
in the same directory, edit config for your need, then use this command to build next time:
== Development
Clone this repo:
Star dev environment with docker:
Run test:
== Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/asciibook/asciibook.
== License
The gem is available as open source under the terms of the MIT License.