Skip to content

Commit

Permalink
Adjust images configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
hirotnk authored and happi committed Apr 22, 2020
1 parent f461791 commit 992e70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@) $<
Expand Down
2 changes: 1 addition & 1 deletion book.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:sectlinks:
:!compat-mode:
:source-highlighter: rouge
:imagesdir: imagesdir
:imagesdir: images
:ditaa-shadows: false
:ditaa-transparent: true

Expand Down

0 comments on commit 992e70f

Please sign in to comment.