Skip to content

Commit 4bf78bf

Browse files
committed
book: fixup images in book.html generation
1 parent 0483e67 commit 4bf78bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ test-after-build: build
5050

5151
build-other-versions:
5252
mkdir -p bin
53-
asciidoctor -o book.html index.adoc
53+
## Set imagesdir to parent_dir/images to work with jekyll build
54+
bundle exec asciidoctor -r asciidoctor-diagram -o book.html index.adoc --attribute imagesdir=../images
5455
## Delete non-deterministic asciidoctor output
5556
sed -i '/^Last updated /d' book.html
5657
mv book.html bin/

0 commit comments

Comments
 (0)