From 992e70f43066c202251b78a265b8cc10cb52f8c0 Mon Sep 17 00:00:00 2001 From: Yoshihiro Tanaka Date: Sat, 18 Apr 2020 08:17:59 -0700 Subject: [PATCH] Adjust images configurations --- Makefile | 3 ++- book.asciidoc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9ae82bc..aa54ace 100755 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ beam-book2.pdf: chapters/opcodes_doc.asciidoc book.asciidoc chapters/*.asciido asciidoctor-pdf -r ./custom-pdf-converter.rb -r asciidoctor-diagram -a config=ditaa.cfg --doctype book -a media=prepress -a pdf-style=pdf-theme.yml book.asciidoc -o $@ index.html: - asciidoctor -r asciidoctor-diagram --backend=html5 --doctype=book -o site/index.html book.asciidoc + asciidoctor -r asciidoctor-diagram -a config=ditaa.cfg --backend=html5 --doctype=book -o site/index.html book.asciidoc + cp -r images/*.png site/images code/book/ebin/generate_op_doc.beam: code/book/src/generate_op_doc.erl erlc -o $(dir $@) $< diff --git a/book.asciidoc b/book.asciidoc index 207d54b..3d10b24 100644 --- a/book.asciidoc +++ b/book.asciidoc @@ -11,7 +11,7 @@ :sectlinks: :!compat-mode: :source-highlighter: rouge -:imagesdir: imagesdir +:imagesdir: images :ditaa-shadows: false :ditaa-transparent: true