Skip to content

Commit 6a16f1a

Browse files
author
Julien Ponge
committed
Render HTML and PDF
1 parent 996865a commit 6a16f1a

File tree

5 files changed

+64
-1
lines changed

5 files changed

+64
-1
lines changed

Diff for: Gemfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
source "https://rubygems.org"
22

3-
gem 'asciidoctor'
3+
gem 'asciidoctor'
4+
5+
gem 'asciidoctor-pdf'
6+
gem 'rouge'

Diff for: Gemfile.lock

+49
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,62 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
Ascii85 (1.0.2)
5+
addressable (2.5.1)
6+
public_suffix (~> 2.0, >= 2.0.2)
7+
afm (0.2.2)
48
asciidoctor (1.5.5)
9+
asciidoctor-pdf (1.5.0.alpha.15)
10+
asciidoctor (>= 1.5.0)
11+
prawn (>= 1.3.0, < 2.3.0)
12+
prawn-icon (= 1.3.0)
13+
prawn-svg (>= 0.21.0, < 0.27.0)
14+
prawn-table (= 0.2.2)
15+
prawn-templates (>= 0.0.3, <= 0.0.5)
16+
safe_yaml (~> 1.0.4)
17+
thread_safe (~> 0.3.6)
18+
treetop (= 1.5.3)
19+
css_parser (1.5.0)
20+
addressable
21+
hashery (2.1.2)
22+
pdf-core (0.7.0)
23+
pdf-reader (1.4.1)
24+
Ascii85 (~> 1.0.0)
25+
afm (~> 0.2.1)
26+
hashery (~> 2.0)
27+
ruby-rc4
28+
ttfunk
29+
polyglot (0.3.5)
30+
prawn (2.2.2)
31+
pdf-core (~> 0.7.0)
32+
ttfunk (~> 1.5)
33+
prawn-icon (1.3.0)
34+
prawn (>= 1.1.0, < 3.0.0)
35+
prawn-svg (0.26.0)
36+
css_parser (~> 1.3)
37+
prawn (>= 0.11.1, < 3)
38+
prawn-table (0.2.2)
39+
prawn (>= 1.3.0, < 3.0.0)
40+
prawn-templates (0.0.5)
41+
pdf-core (>= 0.5.0)
42+
pdf-reader (~> 1.3)
43+
prawn (>= 2.2.1)
44+
public_suffix (2.0.5)
45+
rouge (2.0.7)
46+
ruby-rc4 (0.1.5)
47+
safe_yaml (1.0.4)
48+
thread_safe (0.3.6)
49+
treetop (1.5.3)
50+
polyglot (~> 0.3)
51+
ttfunk (1.5.1)
552

653
PLATFORMS
754
ruby
855

956
DEPENDENCIES
1057
asciidoctor
58+
asciidoctor-pdf
59+
rouge
1160

1261
BUNDLED WITH
1362
1.13.7

Diff for: README.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
= A gentle guide to asynchronous programming with Eclipse Vert.x for enterprise application developers
22
Julien Ponge <julien[email protected]> ; Thomas Segismont <tsegismo@redhat.com> ; Julien Viet <jviet@redhat.com>
3+
:doctype: book
34

45
:leveloffset: +1
56

Diff for: process-asciidoctor.sh renamed to render-html.sh

File renamed without changes.

Diff for: render-pdf.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
bundle exec asciidoctor-pdf \
3+
-o guide.pdf \
4+
-a icons=font \
5+
-a source-highlighter=rouge \
6+
-a autofit-option \
7+
-a toc \
8+
-a toclevels=4 \
9+
-a sectnums \
10+
README.adoc

0 commit comments

Comments
 (0)