Improve website deployment (#139)

* Fix issue of book not building

* add dependencies

* fix

* test make4ht

* fix cmd

* Use own docker image

* Add label

* fix urls

* Add validate command

* build non mac version

* tmp run

* use smaller tex version

* build full
This commit is contained in:
Hendrik Kleinwaechter
2023-07-08 10:51:23 +02:00
committed by GitHub
parent 62a9e9a000
commit 509092c56e
8 changed files with 171 additions and 85 deletions

View File

@@ -221,9 +221,6 @@ release_sans_serif: build_sans_serif_pdf build_sans_serif_ebook | make_release_d
.PHONY: website
website:
if command -v cowsay &> /dev/null; then\
cowsay "baking the website";\
fi
rm -rf $(WEBSITE_DIR)
make4ht -c website.cfg -a debug -uf html5+tidy+common_domfilters+dvisvgm_hashes -d $(WEBSITE_DIR) book.tex
mv $(WEBSITE_DIR)/book.html $(WEBSITE_DIR)/index.html