From 7aa8a15ea9471325996636367f4b20a11d980e24 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 14 Jun 2019 11:00:00 +0300 Subject: Change: format fables with ftt-docgen --- Makefile | 6 ++++-- fable-arch.yaml | 0 tutorial.yaml | 0 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 fable-arch.yaml create mode 100644 tutorial.yaml diff --git a/Makefile b/Makefile index 3bf6fb7..254b955 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -docs = echo.md tutorial.md fable-arch.md +docs = echo.md tutorial.md fable-arch.md jt.md outputs = $(docs:.md=.pdf) $(docs:.md=.html) .SUFFIXES: .md .pdf .html @@ -10,7 +10,9 @@ publish: install -m 0644 $(outputs) files .md.pdf: - ./pandoc.sh $< -o $@ + ./ftt-docgen $$(basename $< .md).yaml $< > tmp.md + ./pandoc.sh tmp.md -o $@ + rm -f tmp.md .md.html: ./pandoc.sh $< -o $@ diff --git a/fable-arch.yaml b/fable-arch.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tutorial.yaml b/tutorial.yaml new file mode 100644 index 0000000..e69de29 -- cgit v1.2.1