Skip to content

Commit

Permalink
Fixes to the html version of the book (happi#50)
Browse files Browse the repository at this point in the history
* Fixes to the html version of the book
* Keep site dir under version control
  • Loading branch information
robertoaloi authored Apr 12, 2017
1 parent 8ee083d commit 94c79bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ book.html
chapters/contributors.txt
xml/*.png
xml/*.png.md5
/*.png
/*.png.md5
site
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ deploy:
skip_cleanup: true
github_token:
secure: n89QSwR4RpCpY62E79DAJn8QxThk4q/YKPliBOO/5xC2oGp54cEOmewygg/1FaAK42Pr+L3c72FLIKKbuRwUcS1pPaOlbcy/97qHLrLvnMBS3wP3BMPrTtyxdXclQoNJ2K/a0HrkHVUz/fIC188C/gZZeWYuuyz07u9wEXb4h9vajHkWoRokL3eBiGC4pbk+gUw+q3l1bYs4LPevIfesBje2JW7LaZoZgqlE7pkBJGf5uYSNNusDNDJOx/genoWeoUrN3e6mYHqZcHnClUvsraZ8Bvx61gW1rhVEYfU6/79PZ5bWU8BojHh6tWlfD8euIc+fBcAKyP68fODwo008BsjuulcpFhDc1qEmnvMnh8FKLoMX6BSJyW/3EGFMXfOggDtGp/4QElEPxeHBLc1bZXZOTHtjuebnc+o6ZimtJ9c3m3W5N/aEPDbHJrrUCAvKYTkt1k+eNptHO0r3Fzahq+ZInspfnqoCDq5aRsTMyCYjg3ZT8KNLsKTCZ2maI0/DaSJMz+RFj/JkVIxZauyF+R8hyLIcIpVEMqQxxYepewFai51vbHNcIQ9yKcYT9iGHn2/F3YnbgpkHgEFV5B8y+hm6DAueAmQS5E569B8WQbgpUgtIRqEhAoTlmaRQjty8gxJ4K1EgeG3QfajSawPLm2leWoD7RU5AgAkH/idER10=
local_dir: site
on:
repo: happi/theBeamBook
branch: master
Expand Down
12 changes: 3 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ adocs = book.asciidoc \

DBLATEX_OPTS = -P latex.output.revhistory=0 -P doc.collab.show=0

all: beam-book.pdf book.html
all: beam-book.pdf index.html

chapters/contributors.txt: .git
./bin/gitlog.sh $@
Expand All @@ -47,14 +47,8 @@ xml/beam-book-from-ab.xml: $(adocs)
beam-book.pdf: xml/beam-book-from-ab.xml
dblatex $(DBLATEX_OPTS) xml/beam-book-from-ab.xml -o $@

book.html:
asciidoc --backend=html5 --doctype=book book.asciidoc

# $(subst .asciidoc,.html, $(adocs)): %.html: %.asciidoc
# asciidoc -a icons -a toc2 $<

# index.html: *.asciidoc
# asciidoc -o index.html -a icons -a toc2 book.asciidoc
index.html:
asciidoc --backend=html5 --doctype=book -a icons -a toc2 -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
Empty file added site/.gitignore
Empty file.

0 comments on commit 94c79bf

Please sign in to comment.