This project uses Asciidoctor source files to generate various documents (Reveal.js slides, HTML "book").
The main file of the project is index.adoc.
It includes the chapters of the course which are in their own directory.
Images are in the figs directory in each chapter.
Source code examples are put in the examples directory.
An option for code examples is to use git-subrepo to integrate examples from another git repository.
Metadata about the course (author and version) are in the file meta.adoc Configuration parameters specific to book output are in index.adoc. Parameters common to book and slide output are in attributes.adoc.
When a chapter directory is added, deleted or if its name changes, the Rakefile has to be updated.
Building the project requires a Ruby environment. More precisely,
-
Ruby packages (gems) are managed with bundler,
-
building the project required rake, and
-
graphviz is used for some diagrams.
$ sudo apt-get update && sudo apt-get -y install bundler