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

Added Asciidoctor EPub3 conversion file. #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dump.rdb
*_mock.js
*beam
*~
output/*

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ To build this on Linux install the asciidoc package (via yum or
apt-get) make a html directory and run the build.sh script this will
turn everything into HTML

## To Build as an EPub3

It is possible to convert the document to the EPub3 format. To do that you will need the [AsciiDoctor](http://asciidoctor.org/) and [Asciidoctor-EPUB3](https://github.com/asciidoctor/asciidoctor-epub3) Ruby gems.

Here's how:
```
$> gem install asciidoctor
$> NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install asciidoctor-epub3 --pre
$> gem install coderay
$> asciidoctor-epub3 -D output testing-erlang.adoc
```

## Chapters

* [Preface](https://github.com/zkessin/testing-erlang-book/blob/master/00_preface.asciidoc)
Expand Down
27 changes: 27 additions & 0 deletions testing-erlang.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
= Testing Erlang

Zachary Kessin
v0.1, 2016-07-20
:doctype: book
:producer: Asciidoctor
:keywords: Erlang, QuickCheck, EUnit, Testing
:copyright: CC-BY-SA 3.0
:imagesdir: images

include::00_preface.asciidoc[Preface]
include::01_rebar.asciidoc[Building With Rebar]
include::02_eunit.asciidoc[Eunit]
include::03_common_test.asciidoc[Common Test]
include::04_dialyzer.asciidoc[Dialyzer]
include::05_proper.asciidoc[Proper]
include::06_quick_check.asciidoc[Quick Check]
include::07_testing_a_fsm.asciidoc[Testing a FSM With Properties]
include::08_wrangler.asciidoc[Wrangler]
include::09_concuerror.asciidoc[Concerrer]
include::10_ci.asciidoc[Contious Integration]
include::11_best_practices.asciidoc[Best Practice]