Enable kroki

This commit is contained in:
Dunya Kirkali
2024-09-06 18:27:54 +00:00
parent 4e8f6cde08
commit ddf73e147f
2 changed files with 13 additions and 4 deletions

View File

@@ -15,17 +15,23 @@ ASCIIDOC_FLAGS = \
all: $(PDF_PATH) $(EPUB_PATH)
$(PDF_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
$(PDF_PATH): book.adoc $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
asciidoctor-pdf book.adoc $(ASCIIDOC_FLAGS) \
-o $@ \
-r asciidoctor-diagram \
-r asciidoctor-mathematical
-r asciidoctor-mathematical \
-r asciidoctor-kroki \
-a allow-uri-read \
--safe-mode server
$(EPUB_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
$(EPUB_PATH): book.adoc $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
asciidoctor-epub3 book.adoc $(ASCIIDOC_FLAGS) \
-o $@ \
-r asciidoctor-diagram \
-r asciidoctor-mathematical
-r asciidoctor-mathematical \
-r asciidoctor-kroki \
-a allow-uri-read \
--safe-mode server
count:
wc -w source/*