diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-02-14 08:07:44 -0500 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-02-14 08:07:44 -0500 |
commit | f102b0d4929084204c4228369c33d89ec8603c54 (patch) | |
tree | 6cde044febfa08d438caaf21c245aa4395d41750 /makefile | |
parent | 499e8256adb97496ad6c2fc7070326446c1e9870 (diff) |
Add plantuml script
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,8 @@ HTML_DOCS=$(patsubst $(SRC_DIR)/%,$(HTML_DIR)/notes/%,$(SOURCE_DOCS:.md=.html)) SOURCE_FILES=$(patsubst $(SRC_DIR)/%,%,$(SOURCE_DOCS:.md=)) PAGE_FILES=$(patsubst $(PAGE_DIR)/%,$(HTML_DIR)/%,$(PAGE_DOCS:.md=.html)) +export PLANTUML_LIMIT_SIZE=16384 + $(BUILD_DIR)/%.meta: $(SRC_DIR)/%.md @mkdir -p $(BUILD_DIR) pandoc --write=tools/link_gen.lua $< -o $@ @@ -20,6 +22,7 @@ $(HTML_DIR)/notes/%.html: $(BUILD_DIR)/%.meta $(META_DOCS) @mkdir -p $(HTML_DIR)/notes pandoc -s --template=./templates/main.html \ --lua-filter=./tools/note.lua \ + --filter ./tools/pandoc-plantuml.py \ $(patsubst $(BUILD_DIR)/%,$(SRC_DIR)/%,$(<:.meta=.md)) \ --highlight-style=pygments \ -o $@ @@ -31,6 +34,7 @@ $(HTML_DIR)/%.html: $(PAGE_DIR)/%.md --highlight-style=pygments \ -M main_class="html-main-page" \ -M main_container="main-container-page" \ + --filter ./tools/pandoc-plantuml.py \ -o $@ $(HTML_DIR)/feed.xml: $(META_DOCS) |