Add actions (#4)

This commit is contained in:
yakimka
2022-01-18 20:47:53 +02:00
committed by GitHub
parent 72d41d776d
commit abf4c58c3a
6 changed files with 173 additions and 10 deletions

View File

@@ -1,2 +1,10 @@
questions.epub: questions.md metadata.txt book_res/* attachments/* Makefile ## Generate epub book
pandoc --toc --toc-depth=6 -o questions.epub metadata.txt questions.md
.PHONY: toc
toc: ## Generate TOC from questions.md
python3 generate_toc.py
.PHONY: toc
toc-check: ## Check that toc is actual
python3 generate_toc.py --check