File tree 6 files changed +46
-27
lines changed 6 files changed +46
-27
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ html:
50
50
mkdir -p bin
51
51
# # Single page HTML
52
52
# # Set imagesdir to parent_dir/images to work with jekyll build
53
- bundle exec asciidoctor --attribute imagesdir=./images --attribute mermaid-format=svg - r asciidoctor-diagram -o onboarding-to-bitcoin-core.html index.adoc
53
+ bundle exec asciidoctor -r asciidoctor-diagram -o onboarding-to-bitcoin-core.html index.adoc
54
54
# # Delete non-deterministic asciidoctor output
55
55
sed -i ' /^Last updated /d' onboarding-to-bitcoin-core.html
56
56
mv onboarding-to-bitcoin-core.html bin/
57
57
cp -r images bin/
58
58
59
59
pdf :
60
- bundle exec asciidoctor --attribute imagesdir=./images --attribute mermaid-format=png - r asciidoctor-pdf -b pdf -r asciidoctor-diagram -o onboarding-to-bitcoin-core.pdf index .adoc
60
+ bundle exec asciidoctor -r asciidoctor-pdf -b pdf -r asciidoctor-diagram -o onboarding-to-bitcoin-core.pdf index_pdf .adoc
61
61
mv onboarding-to-bitcoin-core.pdf bin/
62
62
63
63
epub :
64
- asciidoctor -b epub3 -r asciidoctor-epub3 -r asciidoctor-diagram --attribute mermaid-format=png --attribute doctype=book index.adoc
64
+ asciidoctor -b epub3 -r asciidoctor-epub3 -r asciidoctor-diagram -o index.epub index_epub .adoc
65
65
mv index.epub bin/onboarding-to-bitcoin-core.epub
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ mermaid:
72
72
# their entries' file path in the `include:` list.
73
73
exclude :
74
74
- .jekyll-cache/
75
+ - all_chapters.adoc
75
76
- 01_overview-and-development.adoc
76
77
- 02_architecture.adoc
77
78
- 03_consensus-and-validation.adoc
@@ -84,7 +85,8 @@ exclude:
84
85
- 10_rpc.adoc
85
86
- asciidoc_workflow.adoc
86
87
- index.adoc
87
- - old.index.adoc
88
+ - index_pdf.adoc
89
+ - index_epub.adoc
88
90
- settings.adoc
89
91
- README.adoc
90
92
- book.html
Original file line number Diff line number Diff line change
1
+ include::01_overview-and-development.adoc[]
2
+
3
+ include::02_architecture.adoc[]
4
+
5
+ include::03_consensus-and-validation.adoc[]
6
+
7
+ include::04_wallet.adoc[]
8
+
9
+ include::05_gui.adoc[]
10
+
11
+ include::06_p2p.adoc[]
12
+
13
+ include::07_mempool.adoc[]
14
+
15
+ include::08_script.adoc[]
16
+
17
+ include::09_build-system.adoc[]
18
+
19
+ include::10_rpc.adoc[]
20
+
21
+ include::appendix.adoc[]
22
+
23
+ include::glossary.adoc[]
Original file line number Diff line number Diff line change 2
2
include::settings.adoc[]
3
3
:leveloffset: +1
4
4
5
- include::01_overview-and-development.adoc[]
6
-
7
- include::02_architecture.adoc[]
8
-
9
- include::03_consensus-and-validation.adoc[]
10
-
11
- include::04_wallet.adoc[]
12
-
13
- include::05_gui.adoc[]
14
-
15
- include::06_p2p.adoc[]
16
-
17
- include::07_mempool.adoc[]
18
-
19
- include::08_script.adoc[]
20
-
21
- include::09_build-system.adoc[]
22
-
23
- include::10_rpc.adoc[]
24
-
25
- include::appendix.adoc[]
26
-
27
- include::glossary.adoc[]
5
+ include::all_chapters.adoc[]
28
6
29
7
:leveloffset: -1
Original file line number Diff line number Diff line change
1
+ = Onboarding to Bitcoin Core
2
+ include::settings.adoc[]
3
+ :leveloffset: +1
4
+ :mermaid-format: png
5
+
6
+ include::all_chapters.adoc[]
7
+
8
+ :leveloffset: -1
Original file line number Diff line number Diff line change
1
+ = Onboarding to Bitcoin Core
2
+ include::settings.adoc[]
3
+ :leveloffset: +1
4
+ :mermaid-format: png
5
+
6
+ include::all_chapters.adoc[]
7
+
8
+ :leveloffset: -1
You can’t perform that action at this time.
0 commit comments