Skip to content

Commit

Permalink
Add default attributes (happi#131)
Browse files Browse the repository at this point in the history
Added some default attributes to book.asciidoc and also moved some
attributes from the command line in Makefile. I think this is better as
we may add more and more attributes in the future.

Added:
- author
- encoding
- lang
- experimental

Moved/Modified:
- toc2 -> toc
- icons
  • Loading branch information
hirotnk authored Mar 23, 2020
1 parent 0243123 commit 6f11829
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ beam-book.pdf: xml/beam-book-from-ab.xml
dblatex $(DBLATEX_OPTS) xml/beam-book-from-ab.xml -o $@

index.html:
asciidoctor -r asciidoctor-diagram --backend=html5 --doctype=book -a icons=font -a toc2 -o site/index.html book.asciidoc
asciidoctor -r asciidoctor-diagram --backend=html5 --doctype=book -o site/index.html book.asciidoc

code/book/ebin/generate_op_doc.beam: code/book/src/generate_op_doc.erl
erlc -o $(dir $@) $<
Expand Down
7 changes: 7 additions & 0 deletions book.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
= The Erlang Runtime System
:author: Erik Stenman
:encoding: utf-8
:lang: en
:toc: left
:toclevels: 3
:experimental:
:icons: font

include::chapters/preface.asciidoc[]

Expand Down

0 comments on commit 6f11829

Please sign in to comment.