Skip to content

Commit 769f84e

Browse files
authored
Merge pull request #13 from riscv/antora-build-errors
Antora build errors
2 parents e05bbb3 + ed66795 commit 769f84e

File tree

5 files changed

+104
-9
lines changed

5 files changed

+104
-9
lines changed

antora/Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ source 'https://rubygems.org'
22
gem 'asciidoctor'
33
gem 'asciidoctor-bibtex'
44
gem 'asciidoctor-diagram'
5-
#gem 'mathematical'
6-
#gem 'asciidoctor-mathematical'
5+
gem 'mathematical'
6+
gem 'asciidoctor-mathematical'
77
gem 'asciidoctor-pdf'
88
gem 'asciidoctor-kroki'
9+
gem 'prawn-gmagick'
910
gem 'asciidoctor-epub3'
1011
gem 'citeproc-ruby'
1112
gem 'coderay'

antora/Gemfile.lock

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ GEM
1515
asciidoctor-diagram (3.0.1)
1616
asciidoctor (>= 1.5.7, < 3.x)
1717
rexml
18-
asciidoctor-epub3 (2.1.3)
18+
asciidoctor-epub3 (2.2.0)
19+
asciidoctor (~> 2.0)
20+
gepub (~> 1.0.0)
21+
mime-types (~> 3.0)
22+
sass
23+
asciidoctor-kroki (0.10.0)
1924
asciidoctor (~> 2.0)
2025
gepub (>= 1.0.0, <= 1.0.15)
2126
mime-types (~> 3.0)
@@ -93,6 +98,8 @@ GEM
9398
prawn (2.4.0)
9499
pdf-core (~> 0.9.0)
95100
ttfunk (~> 1.7)
101+
prawn-gmagick (0.0.9)
102+
prawn (>= 0.15, < 3.0)
96103
prawn-icon (3.0.0)
97104
prawn (>= 1.1.0, < 3.0.0)
98105
prawn-svg (0.34.2)
@@ -144,6 +151,8 @@ DEPENDENCIES
144151
coderay
145152
csl-styles
146153
json
154+
mathematical
155+
prawn-gmagick
147156
pygments.rb
148157
rghost
149158
rouge

antora/antora-playbook.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ content:
5858
# start_page: ROOT::index.adoc
5959
# start_path: /
6060

61-
6261
asciidoc:
6362
extensions:
6463
- asciidoctor-kroki
6564
- '@djencks/asciidoctor-mathjax'
6665
attributes:
66+
company: RISC-V
67+
url-riscv: https://riscv.org
68+
doctype: book
6769
experimental: ''
6870
idprefix: ''
6971
idseparator: '-'
@@ -75,16 +77,17 @@ asciidoc:
7577
inf: '&#8734;'
7678
csrname: 'envcfg'
7779
incexample: example$
78-
incimage: ../images/
79-
80-
pdf_url: ~
80+
incimage: images
81+
stem: latexmath
82+
pretex:
83+
pdf_url: ~
8184
multiple_pdfs: false
8285
pdf_list: ~
8386

8487
# Temp disable for local build speedup. Re-enable for deployment.
8588
runtime:
8689
fetch: true
87-
90+
8891
antora:
8992
extensions:
9093
- require: '@antora/lunr-extension'

antora/package-lock.json

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

antora/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"@djencks/asciidoctor-mathjax": "^0.0.9",
88
"asciidoctor-kroki": "^0.18.1",
99
"bytefield-svg": "^1.8.0",
10-
"wavedrom-cli": "^3.2.0"
10+
"wavedrom-cli": "^3.2.0",
11+
"@djencks/asciidoctor-mathjax": "^0.0.7"
1112
}
1213
}

0 commit comments

Comments
 (0)