-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Phil Sturgeon
committed
Mar 25, 2019
1 parent
5f892ee
commit aa7fbe2
Showing
30 changed files
with
570 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
book.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[authorblurb] | ||
= About the Author | ||
|
||
You can contact {author} at {email}. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
brew 'asciidoc' # local book toolchain | ||
brew 'docbook-xsl' # output epub and other book formats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'asciidoctor' | ||
gem 'asciidoctor-pdf', '~> 1.5.pre' | ||
gem 'asciidoctor-epub3', '~> 1.5.pre' | ||
gem 'asciidoctor-diagram' # https://github.com/asciidoctor/asciidoctor-diagram | ||
gem 'coderay' # markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
Ascii85 (1.0.3) | ||
addressable (2.6.0) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
afm (0.2.2) | ||
asciidoctor (1.5.8) | ||
asciidoctor-diagram (1.5.16) | ||
asciidoctor (>= 1.5.0, < 3.x) | ||
asciidoctor-epub3 (1.5.0.alpha.8) | ||
asciidoctor (~> 1.5.0) | ||
gepub (~> 0.6.9.2) | ||
thread_safe (~> 0.3.6) | ||
asciidoctor-pdf (1.5.0.alpha.16) | ||
asciidoctor (>= 1.5.0) | ||
prawn (>= 1.3.0, < 2.3.0) | ||
prawn-icon (= 1.3.0) | ||
prawn-svg (>= 0.21.0, < 0.28.0) | ||
prawn-table (= 0.2.2) | ||
prawn-templates (>= 0.0.3, <= 0.1.1) | ||
safe_yaml (~> 1.0.4) | ||
thread_safe (~> 0.3.6) | ||
treetop (= 1.5.3) | ||
coderay (1.1.2) | ||
css_parser (1.7.0) | ||
addressable | ||
gepub (0.6.9.2) | ||
nokogiri (~> 1.6.1) | ||
rubyzip (>= 1.1.1) | ||
hashery (2.1.2) | ||
mini_portile2 (2.1.0) | ||
nokogiri (1.6.8.1) | ||
mini_portile2 (~> 2.1.0) | ||
pdf-core (0.7.0) | ||
pdf-reader (2.2.0) | ||
Ascii85 (~> 1.0.0) | ||
afm (~> 0.2.1) | ||
hashery (~> 2.0) | ||
ruby-rc4 | ||
ttfunk | ||
polyglot (0.3.5) | ||
prawn (2.2.2) | ||
pdf-core (~> 0.7.0) | ||
ttfunk (~> 1.5) | ||
prawn-icon (1.3.0) | ||
prawn (>= 1.1.0, < 3.0.0) | ||
prawn-svg (0.27.1) | ||
css_parser (~> 1.3) | ||
prawn (>= 0.11.1, < 3) | ||
prawn-table (0.2.2) | ||
prawn (>= 1.3.0, < 3.0.0) | ||
prawn-templates (0.1.1) | ||
pdf-reader (~> 2.0) | ||
prawn (~> 2.2) | ||
public_suffix (3.0.3) | ||
ruby-rc4 (0.1.5) | ||
rubyzip (1.2.2) | ||
safe_yaml (1.0.5) | ||
thread_safe (0.3.6) | ||
treetop (1.5.3) | ||
polyglot (~> 0.3) | ||
ttfunk (1.5.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
asciidoctor | ||
asciidoctor-diagram | ||
asciidoctor-epub3 (~> 1.5.pre) | ||
asciidoctor-pdf (~> 1.5.pre) | ||
coderay | ||
|
||
BUNDLED WITH | ||
2.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
default: build-html | ||
default: build | ||
|
||
install: | ||
brew bundle | ||
bundle install | ||
|
||
build: build-html build-pdf build-epub | ||
|
||
build-html: | ||
asciidoctor book.adoc -D generated -b html5 | ||
rm -rf generated/html/* | ||
asciidoctor book.adoc -b html5 -D generated/html | ||
mkdir -p generated/html/1-theory && cp -r 1-theory/images generated/html/1-theory/ | ||
mkdir -p generated/html/2-planning && cp -r 2-planning/images generated/html/2-planning/ | ||
|
||
build-pdf: | ||
asciidoctor-pdf book.adoc -D generated | ||
|
||
build-epub: | ||
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog | ||
a2x -v -fepub -dbook --no-xmllint book.adoc && mkdir -p generated/html | ||
mkdir generated/epub && mv book.epub generated/epub/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.