File tree Expand file tree Collapse file tree 4 files changed +43
-4
lines changed
Expand file tree Collapse file tree 4 files changed +43
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ group :jekyll_plugins do
1919 gem "jekyll-feed" , "~> 0.12"
2020 gem "jekyll-asciidoc" , "~> 3.0.0"
2121 gem "asciidoctor-diagram"
22+ gem "asciidoctor-pdf"
2223 gem 'rouge'
2324end
2425
Original file line number Diff line number Diff line change 1313 rexml
1414 asciidoctor-diagram-ditaamini (1.0.3 )
1515 asciidoctor-diagram-plantuml (1.2023.10 )
16+ asciidoctor-pdf (2.3.9 )
17+ asciidoctor (~> 2.0 )
18+ concurrent-ruby (~> 1.1 )
19+ matrix (~> 0.4 )
20+ prawn (~> 2.4.0 )
21+ prawn-icon (~> 3.0.0 )
22+ prawn-svg (~> 0.32.0 )
23+ prawn-table (~> 0.2.0 )
24+ prawn-templates (~> 0.1.0 )
25+ treetop (~> 1.6.0 )
1626 async (2.6.3 )
1727 console (~> 1.10 )
1828 fiber-annotation
2535 console (1.23.2 )
2636 fiber-annotation
2737 fiber-local
38+ css_parser (1.16.0 )
39+ addressable
2840 em-websocket (0.5.3 )
2941 eventmachine (>= 0.12.9 )
3042 http_parser.rb (~> 0 )
93105 listen (3.8.0 )
94106 rb-fsevent (~> 0.10 , >= 0.10.3 )
95107 rb-inotify (~> 0.9 , >= 0.9.10 )
108+ matrix (0.4.2 )
96109 mdl (0.12.0 )
97110 kramdown (~> 2.3 )
98111 kramdown-parser-gfm (~> 1.1 )
@@ -110,12 +123,28 @@ GEM
110123 parslet (2.0.0 )
111124 pathutil (0.16.2 )
112125 forwardable-extended (~> 2.6 )
126+ pdf-core (0.9.0 )
113127 pdf-reader (2.11.0 )
114128 Ascii85 (~> 1.0 )
115129 afm (~> 0.2.1 )
116130 hashery (~> 2.0 )
117131 ruby-rc4
118132 ttfunk
133+ polyglot (0.3.5 )
134+ prawn (2.4.0 )
135+ pdf-core (~> 0.9.0 )
136+ ttfunk (~> 1.7 )
137+ prawn-icon (3.0.0 )
138+ prawn (>= 1.1.0 , < 3.0.0 )
139+ prawn-svg (0.32.0 )
140+ css_parser (~> 1.6 )
141+ prawn (>= 0.11.1 , < 3 )
142+ rexml (~> 3.2 )
143+ prawn-table (0.2.2 )
144+ prawn (>= 1.3.0 , < 3.0.0 )
145+ prawn-templates (0.1.2 )
146+ pdf-reader (~> 2.0 )
147+ prawn (~> 2.2 )
119148 public_suffix (5.0.3 )
120149 racc (1.7.1 )
121150 rainbow (3.1.1 )
135164 toml (0.3.0 )
136165 parslet (>= 1.8.0 , < 3.0.0 )
137166 tomlrb (2.0.3 )
167+ treetop (1.6.12 )
168+ polyglot (~> 0.3 )
138169 ttfunk (1.7.0 )
139170 typhoeus (1.4.0 )
140171 ethon (>= 0.9.0 )
@@ -148,6 +179,7 @@ PLATFORMS
148179
149180DEPENDENCIES
150181 asciidoctor-diagram
182+ asciidoctor-pdf
151183 html-proofer
152184 jekyll (~> 4.3.2 )
153185 jekyll-asciidoc (~> 3.0.0 )
Original file line number Diff line number Diff line change @@ -47,8 +47,12 @@ test-after-build: build
4747
4848build-other-versions :
4949 mkdir -p bin
50+ # # Single page HTML
5051 # # Set imagesdir to parent_dir/images to work with jekyll build
51- bundle exec asciidoctor -r asciidoctor-diagram -o book .html index.adoc --attribute imagesdir=../images
52+ bundle exec asciidoctor -r asciidoctor-diagram -o onboarding-to-bitcoin-core .html index.adoc --attribute imagesdir=../images
5253 # # Delete non-deterministic asciidoctor output
53- sed -i ' /^Last updated /d' book.html
54- mv book.html bin/
54+ sed -i ' /^Last updated /d' onboarding-to-bitcoin-core.html
55+ mv onboarding-to-bitcoin-core.html bin/
56+ # # PDF version
57+ bundle exec asciidoctor -r asciidoctor-pdf -b pdf -r asciidoctor-diagram -o onboarding-to-bitcoin-core.pdf index.adoc --attribute imagesdir=../images
58+ mv onboarding-to-bitcoin-core.pdf bin/
Original file line number Diff line number Diff line change 3232< div class ="dah_container ">
3333 < div class ="dah_card ">
3434 < p > < b > Get onboarded</ b > </ p >
35- < p > Read the < a href ="bin/book .html "> entire onboarding guide</ a > in a
35+ < p > Read the < a href ="./ bin/onboarding-to-bitcoin-core .html "> entire onboarding guide</ a > in a
3636 convenient single-page format.</ p >
37+ < p > Or view the < a href ="./bin/onboarding-to-bitcoin-core.pdf "> entire guide</ a >
38+ (excluding mermaid charts) as a PDF.</ p >
3739 </ div >
3840
3941 < div class ="dah_card ">
You can’t perform that action at this time.
0 commit comments